public class ShortBinding extends ComparableBinding
ComparableBinding| Modifier and Type | Field and Description |
|---|---|
static ShortBinding |
BINDING |
| Modifier and Type | Method and Description |
|---|---|
static short |
entryToShort(@NotNull ByteIterable entry)
De-serializes ByteIterable entry to a
short value. |
java.lang.Short |
readObject(@NotNull java.io.ByteArrayInputStream stream) |
static ArrayByteIterable |
shortToEntry(short object)
Serializes
short value to the ArrayByteIterable entry. |
void |
writeObject(@NotNull LightOutputStream output,
@NotNull java.lang.Comparable object) |
entryToObject, objectToEntrypublic static final ShortBinding BINDING
public java.lang.Short readObject(@NotNull
@NotNull java.io.ByteArrayInputStream stream)
readObject in class ComparableBindingpublic void writeObject(@NotNull
@NotNull LightOutputStream output,
@NotNull
@NotNull java.lang.Comparable object)
writeObject in class ComparableBindingpublic static short entryToShort(@NotNull
@NotNull ByteIterable entry)
short value.entry - ByteIterable instancepublic static ArrayByteIterable shortToEntry(short object)
short value to the ArrayByteIterable entry.object - value to serialize