/[fenfire]/fenfire/org/fenfire/util/RDFUtil.java
ViewVC logotype

Diff of /fenfire/org/fenfire/util/RDFUtil.java

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

revision 1.16 by mudyc, Sat Jul 19 09:04:36 2003 UTC revision 1.17 by mudyc, Wed Aug 13 10:17:51 2003 UTC
# Line 107  public class RDFUtil { Line 107  public class RDFUtil {
107          return false;          return false;
108      }      }
109    
110        /** Special call for structure linked vocabulary to test if node is linked with node2.
111         * @see STRUCTLINK
112         */
113        static public boolean isLinkedWith(Graph graph, Object node, Object node2) {
114            Iterator it = graph.findN_11X_Iter(node, STRUCTLINK.linkedTo);
115            if (it.hasNext() && node2 == it.next()) return true;
116            it = graph.findN_X11_Iter(STRUCTLINK.linkedTo, node);
117            if (it.hasNext() && node2 == it.next()) return true;
118            return false;
119        }
120    
121  }  }
122    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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