compareTo method

int compareTo(
  1. OpenPort other
)

Implementation

int compareTo(OpenPort other) {
  return port.compareTo(other.port);
}