Package | Description |
---|---|
org.omnifaces.util.concurrentlinkedhashmap |
This package contains an implementation of a bounded
ConcurrentMap data structure. |
Modifier and Type | Method and Description |
---|---|
static <K,V> EntryWeigher<K,V> |
Weighers.asEntryWeigher(Weigher<? super V> weigher)
A entry weigher backed by the specified weigher.
|
static <K,V> EntryWeigher<K,V> |
Weighers.entrySingleton()
A weigher where an entry has a weight of 1.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(EntryWeigher<? super K,? super V> weigher)
Specifies an algorithm to determine how many the units of capacity a
value consumes.
|