Interface BNode
- All Superinterfaces:
Resource, Serializable, Value
- All Known Implementing Classes:
AbstractBNode, CorruptIRIOrBNode, LmdbBNode, MemBNode, NativeBNode, SimpleBNode
An RDF-1.1 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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Type -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this blank node to another object.getID()Retrieves this blank node's identifier.default Value.TypegetType()inthashCode()Computes the hash code of this blank node.default booleanisBNode()Check if the object is an instance of the given type.Methods inherited from interface Resource
isResourceMethods inherited from interface Value
isIRI, isLiteral, isTriple, stringValue
-
Method Details
-
isBNode
default boolean isBNode()Description copied from interface:ValueCheck if the object is an instance of the given type. Typically 2x than using instanceof.For implementers: This default implementation is overridden in the repsective sub-interface.
-
getType
-
getID
-
equals
-
hashCode
-