class Layer2Topology {

  @Override
  public boolean equals(@Nullable Object obj) {
    if (this == obj) {
      return true;
    }
    if (!(obj instanceof Layer2Topology)) {
      return false;
    }
    return _representativeByNode.equals(((Layer2Topology) obj)._representativeByNode);
  }

  private  Layer2Topology(Map<Layer2Node, Layer2Node> representativeByNode);

}