@Test public void testEquals() { new EqualsTester() .addEqualityGroup( new FibLookup(new LiteralVrfName("name")), new FibLookup(new LiteralVrfName("name"))) .addEqualityGroup(new FibLookup(new LiteralVrfName("otherName"))) .addEqualityGroup(new Object()) .testEquals(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FibLookup)) { return false; } FibLookup fibLookup = (FibLookup) o; return _vrfExpr.equals(fibLookup._vrfExpr); }
FibLookup implements Action { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FibLookup)) { return false; } FibLookup fibLookup = (FibLookup) o; return _vrfExpr.equals(fibLookup._vrfExpr); } }
FibLookup implements Action { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FibLookup)) { return false; } FibLookup fibLookup = (FibLookup) o; return _vrfExpr.equals(fibLookup._vrfExpr); } FibLookup(VrfExpr vrfExpr); }
FibLookup implements Action { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FibLookup)) { return false; } FibLookup fibLookup = (FibLookup) o; return _vrfExpr.equals(fibLookup._vrfExpr); } FibLookup(VrfExpr vrfExpr); @JsonProperty(PROP_VRF_EXPR) @Nonnull VrfExpr getVrfExpr(); @Override T accept(ActionVisitor<T> visitor); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
FibLookup implements Action { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FibLookup)) { return false; } FibLookup fibLookup = (FibLookup) o; return _vrfExpr.equals(fibLookup._vrfExpr); } FibLookup(VrfExpr vrfExpr); @JsonProperty(PROP_VRF_EXPR) @Nonnull VrfExpr getVrfExpr(); @Override T accept(ActionVisitor<T> visitor); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }