Uses of Interface
com.googlecode.concurrentlinkedhashmap.Weigher
-
-
Uses of Weigher in com.googlecode.concurrentlinkedhashmap
Classes in com.googlecode.concurrentlinkedhashmap that implement Weigher Modifier and Type Class Description (package private) static classWeighers.ByteArrayWeigher(package private) static classWeighers.CollectionWeigher(package private) static classWeighers.IterableWeigher(package private) static classWeighers.ListWeigher(package private) static classWeighers.MapWeigher(package private) static classWeighers.SetWeigher(package private) static classWeighers.SingletonWeigherFields in com.googlecode.concurrentlinkedhashmap declared as Weigher Modifier and Type Field Description (package private) Weigher<? super V>Weighers.EntryWeigherView. weigherMethods in com.googlecode.concurrentlinkedhashmap that return Weigher Modifier and Type Method Description static Weigher<byte[]>Weighers. byteArray()A weigher where the value is a byte array and its weight is the number of bytes.static <E> Weigher<? super java.util.Collection<E>>Weighers. collection()A weigher where the value is aCollectionand its weight is the number of elements.static <E> Weigher<? super java.lang.Iterable<E>>Weighers. iterable()A weigher where the value is aIterableand its weight is the number of elements.static <E> Weigher<? super java.util.List<E>>Weighers. list()A weigher where the value is aListand its weight is the number of elements.static <A,B>
Weigher<? super java.util.Map<A,B>>Weighers. map()A weigher where the value is aMapand its weight is the number of entries.static <E> Weigher<? super java.util.Set<E>>Weighers. set()A weigher where the value is aSetand its weight is the number of elements.static <V> Weigher<V>Weighers. singleton()A weigher where a value has a weight of 1.Methods in com.googlecode.concurrentlinkedhashmap with parameters of type Weigher Modifier and Type Method Description static <K,V>
EntryWeigher<K,V>Weighers. asEntryWeigher(Weigher<? super V> weigher)A entry weigher backed by the specified weigher.ConcurrentLinkedHashMap.Builder<K,V>ConcurrentLinkedHashMap.Builder. weigher(Weigher<? super V> weigher)Specifies an algorithm to determine how many the units of capacity a value consumes.Constructors in com.googlecode.concurrentlinkedhashmap with parameters of type Weigher Constructor Description EntryWeigherView(Weigher<? super V> weigher)
-