HomeSort by relevance Sort by last modified time
    Searched refs:MapMaker (Results 1 - 25 of 44) sorted by null

1 2

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Platform.java 49 static MapMaker tryWeakKeys(MapMaker mapMaker) {
50 return mapMaker;
MapMaker.java 29 * MapMaker emulation. Since Javascript is single-threaded and have no references, this reduces to
34 public class MapMaker extends GenericMapMaker<Object, Object> {
105 // from MapMaker
144 // from MapMaker
167 public MapMaker() {}
170 public MapMaker initialCapacity(int initialCapacity) {
178 public MapMaker loadFactor(float loadFactor) {
188 MapMaker expiration(long duration, TimeUnit unit) {
193 MapMaker expireAfterWrite(long duration, TimeUnit unit) {
207 MapMaker maximumSize(int maximumSize)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
MapMaker.java 62 * ConcurrentMap<Key, Graph> graphs = new MapMaker()
74 * These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent map
99 * <p>The maps produced by {@code MapMaker} are serializable, and the deserialized maps retain all
104 * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link
114 public final class MapMaker extends GenericMapMaker<Object, Object> {
142 * Constructs a new {@code MapMaker} instance with default settings, including strong keys, strong
145 public MapMaker() {}
160 MapMaker keyEquivalence(Equivalence<Object> equivalence) {
180 MapMaker valueEquivalence(Equivalence<Object> equivalence) {
203 public MapMaker initialCapacity(int initialCapacity)
    [all...]
Platform.java 91 static MapMaker tryWeakKeys(MapMaker mapMaker) {
92 return mapMaker.weakKeys();
GenericMapMaker.java 25 import com.google.common.collect.MapMaker.RemovalListener;
26 import com.google.common.collect.MapMaker.RemovalNotification;
32 * A class exactly like {@link MapMaker}, except restricted in the types of maps it can build.
51 // Set by MapMaker, but sits in this class to preserve the type relationship
59 * See {@link MapMaker#keyEquivalence}.
65 * See {@link MapMaker#valueEquivalence}.
71 * See {@link MapMaker#initialCapacity}.
76 * See {@link MapMaker#maximumSize}.
81 * See {@link MapMaker#strongKeys}.
86 * See {@link MapMaker#concurrencyLevel}
    [all...]
Interners.java 45 final ConcurrentMap<E, E> map = new MapMaker().makeMap();
55 // MapMaker is our friend, we know about this type
103 return new CustomInterner<E>(new MapMaker().weakKeys());
ComputingConcurrentHashMap.java 22 import com.google.common.collect.MapMaker.RemovalCause;
23 import com.google.common.collect.MapMaker.RemovalListener;
49 ComputingConcurrentHashMap(MapMaker builder,
406 MapMaker mapMaker = readMapMaker(in);
407 delegate = mapMaker.makeComputingMap(computingFunction);
MapMakerInternalMap.java 25 import com.google.common.collect.MapMaker.RemovalCause;
26 import com.google.common.collect.MapMaker.RemovalListener;
27 import com.google.common.collect.MapMaker.RemovalNotification;
63 * The concurrent hash map implementation built by {@link MapMaker}.
168 /** The maximum size of this map. MapMaker.UNSET_INT if there is no maximum. */
196 MapMakerInternalMap(MapMaker builder) {
261 createSegment(segmentSize, MapMaker.UNSET_INT);
267 return maximumSize != MapMaker.UNSET_INT;
    [all...]
Ordering.java 211 Platform.tryWeakKeys(new MapMaker()).makeComputingMap(
  /external/guava/guava-tests/test/com/google/common/collect/
ComputingConcurrentHashMapTest.java 28 import com.google.common.collect.MapMaker.ComputingMapAdapter;
29 import com.google.common.collect.MapMaker.RemovalCause;
54 MapMaker maker, Function<? super K, ? extends V> computingFunction) {
60 MapMaker maker, Function<? super K, ? extends V> computingFunction) {
65 private MapMaker createMapMaker() {
66 MapMaker maker = new MapMaker();
111 for (MapMaker maker : allEvictingMakers()) {
168 MapMaker maker = createMapMaker().concurrencyLevel(1);
197 MapMaker maker = createMapMaker().concurrencyLevel(1)
    [all...]
MapMakerTest.java 22 import com.google.common.collect.MapMaker.RemovalNotification;
43 tester.testAllPublicInstanceMethods(new MapMaker());
55 final ConcurrentMap<String, String> map = new MapMaker()
111 final Map<String, String> map = new MapMaker()
ConcurrentHashMultisetTest.java 30 import com.google.common.collect.MapMaker.RemovalListener;
31 import com.google.common.collect.MapMaker.RemovalNotification;
358 MapMaker mapMaker = new MapMaker()
363 ConcurrentHashMultiset.create(mapMaker);
401 MapMaker mapMaker = new MapMaker()
406 ConcurrentHashMultiset.create(mapMaker);
    [all...]
ConcurrentHashMultisetBasherTest.java 56 MapMaker mapMaker = new MapMaker();
57 // force MapMaker to use its own MapMakerInternalMap
58 mapMaker.useCustomMap = true;
59 testAddAndRemove(mapMaker.<String, AtomicInteger>makeMap());
MapMakerInternalMapTest.java 28 import com.google.common.collect.MapMaker.RemovalCause;
29 import com.google.common.collect.MapMaker.RemovalListener;
30 import com.google.common.collect.MapMaker.RemovalNotification;
61 return new MapMakerInternalMap<K, V>((MapMaker) maker);
64 private static <K, V> MapMakerInternalMap<K, V> makeMap(MapMaker maker) {
68 private static MapMaker createMapMaker() {
69 MapMaker maker = new MapMaker();
86 assertEquals(MapMaker.UNSET_INT, map.maximumSize);
89 assertSame(MapMaker.NullListener.INSTANCE, map.removalListener)
    [all...]
  /external/javassist/src/main/javassist/bytecode/stackmap/
MapMaker.java 24 public class MapMaker extends Tracer {
72 MapMaker mm = new MapMaker(cp, minfo, ca);
95 MapMaker mm = new MapMaker(classes, minfo, ca);
116 MapMaker mm = new MapMaker(classes, minfo, ca);
121 public MapMaker(ClassPool classes, MethodInfo minfo, CodeAttribute ca) {
127 protected MapMaker(MapMaker old, boolean copyStack)
    [all...]
  /external/javassist/src/main/javassist/bytecode/
MethodInfo.java 25 import javassist.bytecode.stackmap.MapMaker;
416 StackMapTable smt = MapMaker.make(pool, this);
433 StackMap sm = MapMaker.make2(pool, this);
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
  /frameworks/testing/espresso/libs/
guava-14.0.1.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 

Completed in 580 milliseconds

1 2