/[fenfire]/fenfire/org/fenfire/impl/SimpleNodeContent.java
ViewVC logotype

Diff of /fenfire/org/fenfire/impl/SimpleNodeContent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by tjl, Sun Apr 27 20:19:24 2003 UTC revision 1.9 by tjl, Mon Apr 28 08:57:27 2003 UTC
# Line 78  public static final String rcsid = "$Id$ Line 78  public static final String rcsid = "$Id$
78          TripleSetObs obs = new TripleSetObs() {          TripleSetObs obs = new TripleSetObs() {
79              public void chg() { rereadIndex(); }              public void chg() { rereadIndex(); }
80              public void chgTriple(int dir, Object o1, Object o2, Object o3) {              public void chgTriple(int dir, Object o1, Object o2, Object o3) {
81                  if(dbg) pa("SNC TRINDEX: Single triple chgd!!!!");                  if(dbg) pa("SNC TRINDEX: Single triple chgd!!!! ");
82                  trIndex.set(dir, o1, o3);                  Object content = func.f(fen.constgraph, o1);
83                    if(dbg) pa("SNC TRINDEX: "+o1+" "+content);
84                    trIndex.set(dir, o1, content);
85              }              }
86          };          };
87          trIndex.clear();          trIndex.clear();
88          for(Iterator i = fen.constgraph.findN_X1A_Iter(FF.content, obs); i.hasNext();) {          for(Iterator i = fen.constgraph.findN_X1A_Iter(FF.content, obs); i.hasNext();) {
89              Object node = i.next();              Object node = i.next();
90              Object content = fen.constgraph.find1_11X(node, FF.content);              Object content = func.f(fen.constgraph, node);
91                if(dbg) pa("SNC content: "+node+" "+content);
92              trIndex.set(1, node, content);              trIndex.set(1, node, content);
93          }          }
94      }      }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26