1 package org.simantics.diagram.synchronization.graph.layer;
3 import java.util.Collection;
5 public class LayersSpec {
6 private Collection<GraphLayer> graphLayers;
8 public LayersSpec(Collection<GraphLayer> gls) {
9 this.graphLayers = gls;
12 public Collection<GraphLayer> getGraphLayers() {
17 public int hashCode() {
20 result = prime * result + ((graphLayers == null) ? 0 : graphLayers.hashCode());
25 public boolean equals(Object obj) {
30 if (getClass() != obj.getClass())
32 LayersSpec other = (LayersSpec) obj;
33 if (graphLayers == null) {
34 if (other.graphLayers != null)
36 } else if (!graphLayers.equals(other.graphLayers))