[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ff-cvs] fenfire/org/fenfire/swamp Nodes.java
From: |
Benja Fallenstein |
Subject: |
[ff-cvs] fenfire/org/fenfire/swamp Nodes.java |
Date: |
Sat, 06 Sep 2003 08:40:49 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Branch:
Changes by: Benja Fallenstein <address@hidden> 03/09/06 08:40:49
Modified files:
org/fenfire/swamp: Nodes.java
Log message:
doc
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/swamp/Nodes.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/swamp/Nodes.java
diff -u fenfire/org/fenfire/swamp/Nodes.java:1.6
fenfire/org/fenfire/swamp/Nodes.java:1.7
--- fenfire/org/fenfire/swamp/Nodes.java:1.6 Fri Sep 5 06:04:57 2003
+++ fenfire/org/fenfire/swamp/Nodes.java Sat Sep 6 08:40:49 2003
@@ -52,6 +52,13 @@
return (String)res;
}
+ /** Try to find out whether the given object is a node.
+ * Due to the current implementation of nodes, we cannot
+ * say with certainty whether a given object is a node;
+ * however, if this method returns <code>false</code>,
+ * we know for sure that the object is <em>not</em> a node.
+ * Otherwise, we can hope that it is one <code>:-)</code>.
+ */
public static boolean isNode(Object o) {
return o instanceof String;
}