Interface DefaultCachingStrategy.ConsideredSame

  • Enclosing class:
    DefaultCachingStrategy

    protected static interface DefaultCachingStrategy.ConsideredSame
    A functor indicating that two objects are considered the same.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isSame​(java.lang.Object o1, java.lang.Object o2)
      Checks the given two objects.
    • Method Detail

      • isSame

        boolean isSame​(java.lang.Object o1,
                       java.lang.Object o2)
        Checks the given two objects.
        Parameters:
        o1 - the first object
        o2 - the second object
        Returns:
        true for equals, false else