Class SimpleCache<Key,​Value>


  • public class SimpleCache<Key,​Value>
    extends Object
    Заимствовано из org.eclipse.xtext.util
    • Constructor Detail

      • SimpleCache

        public SimpleCache​(com.google.common.base.Function<Key,​Value> f)
    • Method Detail

      • clear

        public void clear()
      • discard

        public void discard​(Key k)
      • hasCachedValue

        public boolean hasCachedValue​(Key key)
      • getSize

        public int getSize()
      • isEmpty

        public boolean isEmpty()