@Test public void testEquals() { new EqualsTester() .addEqualityGroup(new Object()) .addEqualityGroup(Accept.INSTANCE, Accept.INSTANCE) .testEquals(); }
@Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } return o instanceof Accept; }
Accept implements SessionAction { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } return o instanceof Accept; } }
Accept implements SessionAction { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } return o instanceof Accept; } private  Accept(); }
Accept implements SessionAction { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } return o instanceof Accept; } private  Accept(); @Override T accept(SessionActionVisitor<T> visitor); @Override boolean equals(@Nullable Object o); @Override int hashCode(); }
Accept implements SessionAction { @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } return o instanceof Accept; } private  Accept(); @Override T accept(SessionActionVisitor<T> visitor); @Override boolean equals(@Nullable Object o); @Override int hashCode(); static final Accept INSTANCE; }