Class CacheHit<T>


  • public class CacheHit<T>
    extends Object
    • Method Detail

      • empty

        public static <T> CacheHit<T> empty()
      • of

        public static <T> CacheHit<T> of​(T value)
      • getValue

        @Nullable
        @CheckForNull
        public T getValue()
      • isEmpty

        public boolean isEmpty()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object