class NodeInterfacePair implements Serializable, Comparable<NodeInterfacePair> {

  @Override
  public boolean equals(@Nullable Object o) {
    if (this == o) {
      return true;
    } else if (!(o instanceof NodeInterfacePair)) {
      return false;
    }
    NodeInterfacePair that = (NodeInterfacePair) o;
    return _hostname.equals(that._hostname) && _interfaceName.equals(that._interfaceName);
  }

  private  NodeInterfacePair(String hostname, String interfaceName);

}