@Test public void testEquals() { new EqualsTester() .addEqualityGroup(new Noop(SOURCE_NAT), new Noop(SOURCE_NAT)) .addEqualityGroup(new Noop(DEST_NAT)) .testEquals(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Noop)) { return false; } Noop noop = (Noop) o; return _type == noop._type; }
Noop implements TransformationStep, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Noop)) { return false; } Noop noop = (Noop) o; return _type == noop._type; } }
Noop implements TransformationStep, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Noop)) { return false; } Noop noop = (Noop) o; return _type == noop._type; } Noop(TransformationType type); }
Noop implements TransformationStep, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Noop)) { return false; } Noop noop = (Noop) o; return _type == noop._type; } Noop(TransformationType type); @Override T accept(TransformationStepVisitor<T> visitor); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_TRANSFORMATION_TYPE) TransformationType getType(); }
Noop implements TransformationStep, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Noop)) { return false; } Noop noop = (Noop) o; return _type == noop._type; } Noop(TransformationType type); @Override T accept(TransformationStepVisitor<T> visitor); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_TRANSFORMATION_TYPE) TransformationType getType(); static final Noop NOOP_DEST_NAT; static final Noop NOOP_SOURCE_NAT; }