HomeSort by relevance Sort by last modified time
    Searched refs:weigher (Results 1 - 11 of 11) sorted by null

  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 181 enum OneWeigher implements Weigher<Object, Object> {
207 Weigher<? super K, ? super V> weigher; field in class:CacheBuilder
347 checkState(this.weigher == null, "maximum size can not be combined with weigher");
355 * {@link Weigher} specified with {@link #weigher}, and use of this method requires a
356 * corresponding call to {@link #weigher} prior to calling {@link #build}.
383 * Specifies the weigher to use in determining the weight of entries. Entry weight is taken
397 * weigher already provided; the {@code CacheBuilder} type cannot do this. For best results
410 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher( method in class:CacheBuilder
    [all...]
LocalCache.java 190 /** Weigher to weigh cache entries. */
191 final Weigher<K, V> weigher; field in class:LocalCache
243 weigher = builder.getWeigher();
312 return weigher != OneWeigher.INSTANCE;
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheEvictionTest.java 58 .weigher(constantWeigher(1))
84 .weigher(constantWeigher(2))
119 .weigher(constantWeigher(2))
201 .weigher(intKeyWeigher())
244 .weigher(intKeyWeigher())
CacheBuilderTest.java 209 @GwtIncompatible("weigher")
212 .weigher(constantWeigher(42));
219 @GwtIncompatible("weigher")
223 .weigher(constantWeigher(42))
230 .weigher(constantWeigher(42));
LocalCacheTest.java 293 .weigher(constantWeigher(1)));
302 Weigher<Object, Object> testWeigher = new Weigher<Object, Object>() {
309 makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
310 assertSame(testWeigher, map.weigher);
2305 SerializableWeigher<Object, Object> weigher = new SerializableWeigher<Object, Object>(); local
2361 SerializableWeigher<Object, Object> weigher = new SerializableWeigher<Object, Object>(); local
    [all...]
  /external/droiddriver/libs/
guava-13.0.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 

Completed in 202 milliseconds