Package org.apache.bcel.util
Interface BCELComparator<T>
- Type Parameters:
T
- What type we are comparing.
public interface BCELComparator<T>
Used for BCEL comparison strategy.
- Since:
- 5.2
-
Method Summary
-
Method Details
-
equals
Compares two objects and return what a.equals(b) should return.- Parameters:
a
- an object.b
- an object to be compared witha
for equality.- Returns:
true
if the arguments are equal to each other andfalse
otherwise.
-
hashCode
Gets the hash code for o.hashCode()- Parameters:
o
-- Returns:
- hash code for o.hashCode()
-