compareTo method

int compareTo(
  1. Pubkey other
)

Compares this Pubkey to other.

Returns a negative value if this is ordered before other, a positive value if this is ordered after other, or zero if this and other are equivalent. Ordering is based on the BigInt value of the public keys.

Implementation

int compareTo(final Pubkey other) {
  return _value.compareTo(other._value);
}