Class SmartIncrementalCache<K,​V extends java.util.Collection>


  • public class SmartIncrementalCache<K,​V extends java.util.Collection>
    extends java.lang.Object
    Uses a SmartCache to store a collection of values. Supplements put operations with an "addToEntry", which supports incrementally adding to the collection associated with key.
    • Field Detail

      • cache

        SmartCache<K,​V extends java.util.Collection> cache
    • Constructor Detail

      • SmartIncrementalCache

        public SmartIncrementalCache()
    • Method Detail

      • put

        public V put​(K key,
                     V value)
      • get

        public V get​(K key)
      • clear

        public void clear()
      • addToEntry

        public void addToEntry​(K key,
                               V value)