private class IntegerType.AllIntegerEncoding extends FixedSizePrimitiveTypeEncoding<java.lang.Integer> implements IntegerType.IntegerEncoding
| Constructor and Description |
|---|
AllIntegerEncoding(EncoderImpl encoder,
DecoderImpl decoder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encodesJavaPrimitive() |
boolean |
encodesSuperset(TypeEncoding<java.lang.Integer> encoding) |
byte |
getEncodingCode() |
protected int |
getFixedSize() |
IntegerType |
getType() |
int |
readPrimitiveValue() |
java.lang.Integer |
readValue() |
void |
write(int i) |
void |
writeValue(int i) |
void |
writeValue(java.lang.Integer val) |
getValueSize, isFixedSizeValgetConstructorSize, getDecoder, getEncoder, getTypeClass, writeConstructorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstructorSize, writeConstructorgetValueSize, isFixedSizeValgetTypeClasspublic AllIntegerEncoding(EncoderImpl encoder, DecoderImpl decoder)
protected int getFixedSize()
getFixedSize in class FixedSizePrimitiveTypeEncoding<java.lang.Integer>public byte getEncodingCode()
getEncodingCode in interface PrimitiveTypeEncoding<java.lang.Integer>getEncodingCode in class AbstractPrimitiveTypeEncoding<java.lang.Integer>public IntegerType getType()
getType in interface PrimitiveTypeEncoding<java.lang.Integer>getType in interface TypeEncoding<java.lang.Integer>public void writeValue(java.lang.Integer val)
writeValue in interface TypeEncoding<java.lang.Integer>public void write(int i)
write in interface IntegerType.IntegerEncodingpublic void writeValue(int i)
writeValue in interface IntegerType.IntegerEncodingpublic int readPrimitiveValue()
readPrimitiveValue in interface IntegerType.IntegerEncodingpublic boolean encodesSuperset(TypeEncoding<java.lang.Integer> encoding)
encodesSuperset in interface TypeEncoding<java.lang.Integer>public java.lang.Integer readValue()
readValue in interface TypeConstructor<java.lang.Integer>public boolean encodesJavaPrimitive()
encodesJavaPrimitive in interface TypeConstructor<java.lang.Integer>encodesJavaPrimitive in interface TypeEncoding<java.lang.Integer>encodesJavaPrimitive in class AbstractPrimitiveTypeEncoding<java.lang.Integer>