PairCodec

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 Pair pair

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.INTEGER Codec.INTEGER

IntegerStringPair

public public IntegerStringPair ()

Method IntegerStringPair.