Weigher < ? super Collection < E >> function ( ) { return ( Weigher < Collection < E >> ) ( Weigher < ? > ) CollectionWeigher . INSTANCE ; }
a weigher where the value is a collection and its weight is thenumber of elements . a map bounded with this weigher will evict when the total number of elements exceeds the capacity rather than the number of key-value pairs in the map . a value with a weight of 0 will be rejected by the map . if a value with this weight can occur then the caller should eagerly evaluate the value and treat it as a removal operation . alternatively , a custom weigher may be specified on the map to assign an empty value a positive weight . concode_field_sep Weigher<? super V> weigher concode_elem_sep long serialVersionUID concode_field_sep Weigher<V> singleton concode_elem_sep EntryWeigher<K,V> asEntryWeigher concode_elem_sep Weigher<? super Set<E>> set concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep int weightOf concode_elem_sep Weigher<byte[]> byteArray concode_elem_sep Weigher<? super Iterable<E>> iterable concode_elem_sep Weigher<? super List<E>> list concode_elem_sep Weigher<? super Map<A,B>> map concode_elem_sep EntryWeigher<K,V> entrySingleton