|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 | |
boolean |
equals(Object o)
Compares a blank node object to another object. |
String |
getID()
retrieves this bNode's identifier. |
int |
hashCode()
The hash code of a blank node is defined as the hash code of its identifier: id.hashCode(). |
| Methods inherited from interface org.openrdf.model.Resource |
addProperty, getSubjectStatements |
| Methods inherited from interface org.openrdf.model.Value |
getObjectStatements |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public String getID()
public boolean equals(Object o)
o - The object to compare this blank node to.
BNode
and their IDs are equal, false otherwise.public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||