Package org.apache.jena.atlas.lib.cache
Class CacheSetImpl<T>
- java.lang.Object
-
- org.apache.jena.atlas.lib.cache.CacheSetImpl<T>
-
-
Constructor Summary
Constructors Constructor Description CacheSetImpl(Cache<T,java.lang.Object> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T e)voidclear()booleancontains(T obj)booleanisEmpty()java.util.Iterator<T>iterator()voidremove(T obj)voidsetDropHandler(java.util.function.Consumer<T> dropHandler)Callback for entries when dropped from the cachelongsize()
-
-
-
Method Detail
-
setDropHandler
public void setDropHandler(java.util.function.Consumer<T> dropHandler)
Callback for entries when dropped from the cache- Specified by:
setDropHandlerin interfaceCacheSet<T>
-
iterator
public java.util.Iterator<T> iterator()
-
-