Searched refs:Weigher (Results 1 - 10 of 10) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
H A DTestingWeighers.java18 * Utility {@link Weigher} implementations intended for use in testing.
25 * Returns a {@link Weigher} that returns the given {@code constant} for every request.
27 static Weigher<Object, Object> constantWeigher(int constant) {
32 * Returns a {@link Weigher} that uses the integer key as the weight.
34 static Weigher<Integer, Object> intKeyWeigher() {
39 * Returns a {@link Weigher} that uses the integer value as the weight.
41 static Weigher<Object, Integer> intValueWeigher() {
45 static final class ConstantWeigher implements Weigher<Object, Object> {
58 static final class IntKeyWeigher implements Weigher<Integer, Object> {
65 static final class IntValueWeigher implements Weigher<Objec
[all...]
H A DLocalCacheTest.java302 Weigher<Object, Object> testWeigher = new Weigher<Object, Object>() {
2719 private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable {
/external/guava/guava/src/com/google/common/cache/
H A DWeigher.java28 public interface Weigher<K, V> { interface
H A DCacheBuilder.java181 enum OneWeigher implements Weigher<Object, Object> {
207 Weigher<? super K, ? super V> weigher;
355 * {@link Weigher} specified with {@link #weigher}, and use of this method requires a
411 Weigher<? super K1, ? super V1> weigher) {
434 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() {
435 return (Weigher<K1, V1>) Objects.firstNonNull(weigher, OneWeigher.INSTANCE);
H A DLocalCache.java190 /** Weigher to weigh cache entries. */
191 final Weigher<K, V> weigher;
4594 final Weigher<K, V> weigher;
4622 Weigher<K, V> weigher, int concurrencyLevel,
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 606 milliseconds