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 withafor equality.- Returns:
trueif the arguments are equal to each other andfalseotherwise.
-
hashCode
Gets the hash code for o.hashCode().- Parameters:
o- The object.- Returns:
- hash code for o.hashCode().
-