org.openanzo.glitter.rdf
Class BlankNodeManager.BlankNode
java.lang.Object
org.openanzo.glitter.rdf.BlankNodeManager.BlankNode
- All Implemented Interfaces:
- java.lang.Comparable<Bindable>, Bindable, IBlankTerm, RDFTerm, TriplePatternComponent
- Enclosing class:
- BlankNodeManager
public class BlankNodeManager.BlankNode
- extends java.lang.Object
- implements Bindable, RDFTerm, IBlankTerm
Represents a blank node, identified by an index. Identity is detemined purely by object reference equality.
- Author:
- lee
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
BlankNodeManager.BlankNode
public BlankNodeManager.BlankNode(int index)
- Constructor.
- Parameters:
index -
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals in interface TriplePatternComponent- Overrides:
equals in class java.lang.Object
compareTo
public int compareTo(TriplePatternComponent o)
- Description copied from interface:
TriplePatternComponent
- Compares to TriplePatternComponents for ordering.
- Specified by:
compareTo in interface TriplePatternComponent
- Returns:
- -1 if this comes before other; 0 if
TriplePatternComponent.equals(Object) is
true, and 1 otherwise.
compareTo
public int compareTo(Bindable o)
- Specified by:
compareTo in interface java.lang.Comparable<Bindable>
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.