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

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(T a, T b)`
  Compares two objects and return what a.equals(b) should return.
  `int`
  `hashCode(T o)`
  Gets the hash code for o.hashCode()

- ## Method Details

  - ### equals

    boolean equals(T a, T b)
    Compares two objects and return what a.equals(b) should return.
    Parameters:
      `a` - an object.
      `b` - an object to be compared with `a` for equality.
    Returns:
      `true` if the arguments are equal to each other and `false` otherwise.

  - ### hashCode

    int hashCode(T o)
    Gets the hash code for o.hashCode()
    Parameters:
      `o` -
    Returns:
      hash code for o.hashCode()