Interface CoalesceChecker


public interface CoalesceChecker
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!
  • Method Details

    • checkCoalesce

      boolean checkCoalesce(Object a, Object b)
      Returns:
      true iff a and b should be considered equivalent, so that a Coalescer should simply return whichever Object it considers canonical.
    • coalesceHash

      int coalesceHash(Object a)
      Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!