|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.model.impl.LiteralImpl
org.openrdf.sail.memory.model.MemLiteral
org.openrdf.sail.memory.model.NumericMemLiteral
public class NumericMemLiteral
An extension of MemLiteral that stores a numeric value to avoid parsing.
| Field Summary |
|---|
| Fields inherited from interface org.openrdf.sail.memory.model.MemValue |
|---|
EMPTY_LIST |
| Constructor Summary | |
|---|---|
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,
URI datatype)
|
|
NumericMemLiteral(Object creator,
short number)
|
|
NumericMemLiteral(Object creator,
String label,
Number number,
URI datatype)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.openrdf.sail.memory.model.MemLiteral |
|---|
addObjectStatement, getCreator, getObjectStatementCount, getObjectStatementList, removeObjectStatement |
| Methods inherited from class org.openrdf.model.impl.LiteralImpl |
|---|
booleanValue, calendarValue, decimalValue, equals, getDatatype, getLabel, getLanguage, hashCode, integerValue, setDatatype, setLabel, setLanguage, stringValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.model.Value |
|---|
stringValue |
| Constructor Detail |
|---|
public NumericMemLiteral(Object creator,
String label,
Number number,
URI datatype)
public NumericMemLiteral(Object creator,
Number number,
URI 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)
| Method Detail |
|---|
public byte byteValue()
Literal
byteValue in interface LiteralbyteValue in class LiteralImplpublic short shortValue()
Literal
shortValue in interface LiteralshortValue in class LiteralImplpublic int intValue()
Literal
intValue in interface LiteralintValue in class LiteralImplpublic long longValue()
Literal
longValue in interface LiterallongValue in class LiteralImplpublic float floatValue()
Literal
floatValue in interface LiteralfloatValue in class LiteralImplpublic double doubleValue()
Literal
doubleValue in interface LiteraldoubleValue in class LiteralImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||