Class Cache<S,​T>


  • public class Cache<S,​T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Cache​(rx.functions.Func1<S,​T> factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get​(S key)  
      Cache<S,​T> put​(S key, T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Cache

        public Cache​(rx.functions.Func1<S,​T> factory)
    • Method Detail

      • put

        public Cache<S,​T> put​(S key,
                                    T value)
      • get

        public T get​(S key)