Class MemoryCache<A,​B>


  • public class MemoryCache<A,​B>
    extends Object
    • Constructor Detail

      • MemoryCache

        public MemoryCache()
    • Method Detail

      • get

        public B get​(A key)
      • put

        public void put​(A key,
                        B obj)
      • cleanUp

        public void cleanUp()
      • clear

        public void clear()
      • remove

        public B remove​(A key)
      • containsKey

        public boolean containsKey​(A key)
      • containsValue

        public boolean containsValue​(B value)
      • isEmpty

        public boolean isEmpty()
      • putAll

        public void putAll​(Map<? extends A,​? extends B> m)