Adds an asJava
method that wraps a function (K, V) => Int
in a
Guava Weigher[K, V]
.
Adds an asJava
method that wraps a function (K, V) => Int
in a
Guava Weigher[K, V]
.
The returned Guava Weigher[K, V]
forwards all method calls to the provided
function (K, V) => Int
.
the function (K, V) => Int
to wrap in a Guava GuavaWeigher[K, V]
An object with an asJava
method that returns a Guava GuavaWeigher[K, V]
view of the argument
Calculates the weights of cache entries.
0.7