class NodeInterfacePair implements Serializable, Comparable<NodeInterfacePair> {

  @Override
  public int compareTo(NodeInterfacePair other) {
    int hostCmp = _hostname.compareTo(other._hostname);
    return hostCmp != 0 ? hostCmp : _interfaceName.compareTo(other._interfaceName);
  }

  private  NodeInterfacePair(String hostname, String interfaceName);

}