Class BooleanMemLiteral
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractLiteral
org.eclipse.rdf4j.model.impl.SimpleLiteral
org.eclipse.rdf4j.sail.memory.model.MemLiteral
org.eclipse.rdf4j.sail.memory.model.BooleanMemLiteral
- All Implemented Interfaces:
 Serializable, Literal, Value, MemValue
An extension of MemLiteral that stores a boolean value to avoid parsing.
- Author:
 - David Huynh, Arjohn Kampman
 - See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Type - 
Field Summary
Fields inherited from interface MemValue
EMPTY_LIST - 
Constructor Summary
ConstructorsConstructorDescriptionBooleanMemLiteral(Object creator, boolean b) BooleanMemLiteral(Object creator, String label, boolean b)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the boolean value of this literal.Methods inherited from class MemLiteral
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasContextStatements, hasObjectStatements, hasPredicateStatements, hasStatements, hasSubjectStatementsMethods inherited from class SimpleLiteral
byteValue, calendarValue, decimalValue, doubleValue, equals, floatValue, getCoreDatatype, getDatatype, getLabel, getLanguage, hashCode, integerValue, intValue, longValue, setDatatype, setDatatype, setDatatype, setLabel, setLanguage, shortValue, stringValue, toStringMethods inherited from class AbstractLiteral
temporalAccessorValue, temporalAmountValueMethods inherited from interface Value
isBNode, isIRI, isResource, isTriple, stringValue 
- 
Constructor Details
- 
BooleanMemLiteral
 - 
BooleanMemLiteral
 
 - 
 - 
Method Details
- 
booleanValue
public boolean booleanValue()Description copied from interface:LiteralReturns the boolean value of this literal.- Specified by:
 booleanValuein interfaceLiteral- Overrides:
 booleanValuein classSimpleLiteral- Returns:
 - The boolean value of the literal.
 
 
 -