public final class DefaultCommonValue extends Object implements CommonValue
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CommonArray |
getArray() |
Boolean |
getBoolean() |
ByteBuffer |
getBytes() |
Double |
getDouble() |
CommonEnum |
getEnum() |
CommonFixed |
getFixed() |
Float |
getFloat() |
Integer |
getInteger() |
Long |
getLong() |
Number |
getNumber() |
CommonRecord |
getRecord() |
CharSequence |
getString() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isBoolean() |
boolean |
isBytes() |
boolean |
isDouble() |
boolean |
isEnum() |
boolean |
isFixed() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isLong() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isRecord() |
boolean |
isString() |
String |
toString() |
public boolean isNull()
isNull
in interface CommonValue
public boolean isInteger()
isInteger
in interface CommonValue
public boolean isBoolean()
isBoolean
in interface CommonValue
public boolean isDouble()
isDouble
in interface CommonValue
public boolean isLong()
isLong
in interface CommonValue
public boolean isFloat()
isFloat
in interface CommonValue
public boolean isString()
isString
in interface CommonValue
public boolean isRecord()
isRecord
in interface CommonValue
public boolean isArray()
isArray
in interface CommonValue
public boolean isFixed()
isFixed
in interface CommonValue
public boolean isNumber()
isNumber
in interface CommonValue
public boolean isBytes()
isBytes
in interface CommonValue
public boolean isEnum()
isEnum
in interface CommonValue
public Integer getInteger()
getInteger
in interface CommonValue
Integer
value or null if other typepublic Boolean getBoolean()
getBoolean
in interface CommonValue
Boolean
value or null if other typepublic Double getDouble()
getDouble
in interface CommonValue
Double
value or null if other typepublic Long getLong()
getLong
in interface CommonValue
Long
value or null if other typepublic Float getFloat()
getFloat
in interface CommonValue
Float
value or null if other typepublic CharSequence getString()
getString
in interface CommonValue
CharSequence
value or null if other typepublic CommonRecord getRecord()
getRecord
in interface CommonValue
CommonRecord
value or null if other typepublic CommonArray getArray()
getArray
in interface CommonValue
CommonArray
value or null if other typepublic CommonFixed getFixed()
getFixed
in interface CommonValue
CommonFixed
value or null if other typepublic Number getNumber()
getNumber
in interface CommonValue
Number
value or null if other typepublic ByteBuffer getBytes()
getBytes
in interface CommonValue
ByteBuffer
value or null if other typepublic CommonEnum getEnum()
getEnum
in interface CommonValue
CommonEnum
value or null if other typeCopyright © 2015. All rights reserved.