Class NoCache<K,V>
- java.lang.Object
-
- com.github.javaparser.symbolsolver.cache.NoCache<K,V>
-
-
Constructor Summary
Constructors Constructor Description NoCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(K key)static <expectedK,expectedV>
NoCache<expectedK,expectedV>create()Create a new instance.Optional<V>get(K key)booleanisEmpty()voidput(K key, V value)voidremove(K key)voidremoveAll()longsize()CacheStatsstats()
-
-
-
Method Detail
-
create
public static <expectedK,expectedV> NoCache<expectedK,expectedV> create()
Create a new instance.- Type Parameters:
expectedK- The expected type for the key.expectedV- The expected type for the value.- Returns:
- A newly created instance of
NoCache.
-
stats
public CacheStats stats()
-
-