| org.openrdf.model.BNode
All known Subclasses: org.openrdf.model.impl.BNodeImpl, org.openrdf.sail.rdbms.model.RdbmsBNode,
BNode | public interface BNode extends Resource(Code) | | A blank node (aka bnode, aka anonymous node). A blank node
has an identifier to be able to compare it to other blank nodes internally.
Please note that, conceptually, blank node equality can only be determined by
examining the statements that refer to them.
|
Method Summary | |
public boolean | equals(Object o) Compares a blank node object to another object.
Parameters: o - The object to compare this blank node to. | public String | getID() retrieves this blank node's identifier. | public int | hashCode() The hash code of a blank node is defined as the hash code of its
identifier: id.hashCode(). |
equals | public boolean equals(Object o)(Code) | | Compares a blank node object to another object.
Parameters: o - The object to compare this blank node to. true if the other object is an instance of BNodeand their IDs are equal, false otherwise. |
getID | public String getID()(Code) | | retrieves this blank node's identifier.
A blank node identifier. |
hashCode | public int hashCode()(Code) | | The hash code of a blank node is defined as the hash code of its
identifier: id.hashCode().
A hash code for the blank node. |
|
|