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-- Returns:
- hash code for o.hashCode()
-