|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Weigher in com.googlecode.concurrentlinkedhashmap |
---|
Methods in com.googlecode.concurrentlinkedhashmap that return Weigher | ||
---|---|---|
static Weigher<byte[]> |
Weighers.byteArray()
A weigher where the value is a byte array and its weight is the number of bytes. |
|
static
|
Weighers.collection()
A weigher where the value is a Collection and its weight is the
number of elements. |
|
static
|
Weighers.iterable()
A weigher where the value is a Iterable and its weight is the
number of elements. |
|
static
|
Weighers.list()
A weigher where the value is a List and its weight is the number
of elements. |
|
static
|
Weighers.map()
A weigher where the value is a Map and its weight is the number of
entries. |
|
static
|
Weighers.set()
A weigher where the value is a Set and its weight is the number
of elements. |
|
static
|
Weighers.singleton()
A weigher where a value has a weight of 1. |
Methods in com.googlecode.concurrentlinkedhashmap with parameters of type 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. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |