public class NumericMemLiteral extends MemLiteral
EMPTY_LIST
Constructor and Description |
---|
NumericMemLiteral(Object creator,
byte number) |
NumericMemLiteral(Object creator,
double n) |
NumericMemLiteral(Object creator,
float n) |
NumericMemLiteral(Object creator,
int number) |
NumericMemLiteral(Object creator,
long n) |
NumericMemLiteral(Object creator,
Number number,
IRI datatype) |
NumericMemLiteral(Object creator,
short number) |
NumericMemLiteral(Object creator,
String label,
Number number,
IRI datatype) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue()
Returns the byte value of this literal.
|
double |
doubleValue()
Returns the double value of this literal.
|
float |
floatValue()
Returns the float value of this literal.
|
int |
intValue()
Returns the int value of this literal.
|
long |
longValue()
Returns the long value of this literal.
|
short |
shortValue()
Returns the short value of this literal.
|
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasStatements, removeObjectStatement
booleanValue, calendarValue, decimalValue, equals, getDatatype, getLabel, getLanguage, hashCode, integerValue, setDatatype, setLabel, setLanguage, stringValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
stringValue
public NumericMemLiteral(Object creator, String label, Number number, IRI datatype)
public NumericMemLiteral(Object creator, byte number)
public NumericMemLiteral(Object creator, short number)
public NumericMemLiteral(Object creator, int number)
public NumericMemLiteral(Object creator, long n)
public NumericMemLiteral(Object creator, float n)
public NumericMemLiteral(Object creator, double n)
public byte byteValue()
Literal
byteValue
in interface Literal
byteValue
in class SimpleLiteral
public short shortValue()
Literal
shortValue
in interface Literal
shortValue
in class SimpleLiteral
public int intValue()
Literal
intValue
in interface Literal
intValue
in class SimpleLiteral
public long longValue()
Literal
longValue
in interface Literal
longValue
in class SimpleLiteral
public float floatValue()
Literal
floatValue
in interface Literal
floatValue
in class SimpleLiteral
public double doubleValue()
Literal
doubleValue
in interface Literal
doubleValue
in class SimpleLiteral
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.