Interface CoalesceChecker


  • public interface CoalesceChecker
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean checkCoalesce​(java.lang.Object a, java.lang.Object b)  
      int coalesceHash​(java.lang.Object a)
      Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!
    • Method Detail

      • checkCoalesce

        boolean checkCoalesce​(java.lang.Object a,
                              java.lang.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​(java.lang.Object a)
        Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!