+ @Override
+ public boolean equals(Object obj)
+ {
+ if (obj!=null && obj instanceof GraphLine)
+ {
+ GraphLine other = (GraphLine) obj;
+ return displayed == other.displayed
+ && value == other.value
+ && (colour != null ? (other.colour != null && other.colour
+ .equals(colour)) : other.colour == null)
+ && (label != null ? (other.label != null && other.label
+ .equals(label)) : other.label == null);
+ }
+ return false;
+ }