org.asnlab.asndt.runtime.conv
Class LongConverter
java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.LongConverter
public class LongConverter
- extends AsnConverter
The IntegerConverter
can convert
INTEGER value objct to/from long value.
Method Summary |
java.lang.Object |
convert(org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
|
java.lang.Object |
convert(org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type,
int length)
|
void |
convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
|
int |
convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
|
java.lang.Object |
toObject(long value)
Return the INTEGER value objct |
long |
toValue(java.lang.Object object)
Return the long value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final LongConverter INSTANCE
LongConverter
public LongConverter()
convert
public int convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
- Overrides:
convert
in class AsnConverter
convert
public java.lang.Object convert(org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type,
int length)
- Overrides:
convert
in class AsnConverter
convert
public void convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
- Overrides:
convert
in class AsnConverter
convert
public java.lang.Object convert(org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.IntegerType type)
- Overrides:
convert
in class AsnConverter
toValue
public long toValue(java.lang.Object object)
- Return the long value
toObject
public java.lang.Object toObject(long value)
- Return the INTEGER value objct
Copyright �2009-2012 ASN Lab