BoolIntPair

public class BoolIntPair implements Comparable

Class BoolIntPair. Provides boolintpair functionality for the Hytale server.

java.lang.Object > BoolIntPair

Field Summary

compare

final int compare

Field compare.

that

final BoolIntPair that

Field that.

Method Detail

BoolIntPair

public public BoolIntPair (final boolean left, final int right)

Method BoolIntPair.

Parameters:
final boolean left
final int right

getKey

final boolean getKey ()

Method getKey.

getLeft

public boolean getLeft ()

Method getLeft.

getValue

final int getValue ()

Method getValue.

getRight

public int getRight ()

Method getRight.

compareTo

public int compareTo (@Nonnull final BoolIntPair other)

Method compareTo.

Parameters:
@Nonnull final BoolIntPair other

hashCode

public int hashCode ()

Method hashCode.

equals

public boolean equals (@Nullable final Object o)

Method equals.

Parameters:
@Nullable final Object o

toString

public String toString ()

Method toString.

of

static BoolIntPair of (final boolean left, final int right)

Method of.

Parameters:
final boolean left
final int right