public class PairCodec
Class PairCodec. Provides paircodec functionality for the Hytale server.
java.lang.Object > PairCodec
Field Summary
left
private
Integer
left
Field left.
right
private
Integer
right
Field right.
Method Detail
IntegerPair
public
public
IntegerPair
()
Method IntegerPair.
toPair
public
Integer>
toPair
()
Method toPair.
fromPair
static
IntegerPair
fromPair
(@Nonnull final Pair pair)
Method fromPair.
- Parameters:
@Nonnull final Pairpair
getLeft
public
Integer
getLeft
()
Method getLeft.
getRight
public
Integer
getRight
()
Method getRight.
KeyedCodec
public
new
KeyedCodec
("Right", Codec.INTEGER)
Method KeyedCodec.
- Parameters:
"Right""Right"Codec.INTEGERCodec.INTEGER
IntegerStringPair
public
public
IntegerStringPair
()
Method IntegerStringPair.