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

    Modifier and Type
    Method
    Description
    boolean
    isSame(Object o1, Object o2)
    Checks the given two objects.
  • Method Details

    • isSame

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