Package org.checkerframework.javacutil
Class CollectionUtils
java.lang.Object
org.checkerframework.javacutil.CollectionUtils
Utility methods related to Java Collections.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <K,V> Map<K, V> createLRUCache(int size) Creates a LRU cache.
- 
Constructor Details- 
CollectionUtilspublic CollectionUtils()
 
- 
- 
Method Details- 
createLRUCacheCreates a LRU cache.- Parameters:
- size- size of the cache
- Returns:
- a new cache with the provided size
 
 
-