public class LongTypeValue extends AbstractTypeValue<Long>
NULL, UNDEFINED
Constructor and Description |
---|
LongTypeValue(Type type,
long value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getRawValue()
Gets raw value.
|
Long |
getValue()
Gets value.
|
int |
hashCode() |
boolean |
isNull()
Returns true if value is null.
|
boolean |
isUndefined()
Returns true if value is undefined.
|
void |
setValue(Long value)
Sets value.
|
byte[] |
toBytesValue()
Gets raw value.
|
getType, setType, toFIXValue, toFIXValue, toString
public LongTypeValue(Type type, long value)
public String getRawValue()
ITypeValue
getRawValue
in interface ITypeValue<Long>
getRawValue
in class AbstractTypeValue<Long>
public Long getValue()
ITypeValue
getValue
in interface ITypeValue<Long>
getValue
in class AbstractTypeValue<Long>
public void setValue(Long value)
ITypeValue
setValue
in interface ITypeValue<Long>
setValue
in class AbstractTypeValue<Long>
value
- the valuepublic boolean isNull()
ITypeValue
isNull
in interface ITypeValue<Long>
isNull
in class AbstractTypeValue<Long>
public byte[] toBytesValue()
ITypeValue
toBytesValue
in interface ITypeValue<Long>
toBytesValue
in class AbstractTypeValue<Long>
public boolean isUndefined()
ITypeValue
isUndefined
in interface ITypeValue<Long>
isUndefined
in class AbstractTypeValue<Long>
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.