/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | Platform.java | 49 static MapMaker tryWeakKeys(MapMaker mapMaker) {
|
H A D | 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> { class in inherits:GenericMapMaker 105 // from MapMaker 144 // from MapMaker 167 public MapMaker() {} method in class: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 maximumSiz [all...] |
H A D | Maps.java | 172 * <p>This is currently accomplished by calling {@link MapMaker#makeMap()}. 174 * <p>It is preferable to use {@code MapMaker} directly (rather than through 183 return new MapMaker().<K, V>makeMap();
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | MapMaker.java | 61 * ConcurrentMap<Key, Graph> graphs = new MapMaker() 73 * These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent map 98 * <p>The maps produced by {@code MapMaker} are serializable, and the deserialized maps retain all 103 * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link 113 public final class MapMaker extends GenericMapMaker<Object, Object> { class in inherits:GenericMapMaker 141 * Constructs a new {@code MapMaker} instance with default settings, including strong keys, strong 144 public MapMaker() {} method in class:MapMaker 159 MapMaker keyEquivalence(Equivalence<Object> equivalence) { 179 MapMaker valueEquivalence(Equivalence<Object> equivalence) { 202 public MapMaker initialCapacit [all...] |
H A D | Platform.java | 91 static MapMaker tryWeakKeys(MapMaker mapMaker) {
|
H A D | 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#concurrencyLeve [all...] |
H A D | 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());
|
H A D | ComputingConcurrentHashMap.java | 23 import com.google.common.collect.MapMaker.RemovalCause; 24 import com.google.common.collect.MapMaker.RemovalListener; 51 ComputingConcurrentHashMap(MapMaker builder, 383 ComputingMapAdapter(MapMaker mapMaker, 440 MapMaker mapMaker = readMapMaker(in);
|
H A D | 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; 2097 * The maximum size of this map. MapMaker.UNSET_INT if there is no maximum. 2319 // currently MapMaker ensure [all...] |
H A D | Ordering.java | 211 Platform.tryWeakKeys(new MapMaker()).makeComputingMap(
|
H A D | Maps.java | 175 * <p>This is currently accomplished by calling {@link MapMaker#makeMap()}. 177 * <p>It is preferable to use {@code MapMaker} directly (rather than through 186 return new MapMaker().<K, V>makeMap();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ComputingConcurrentHashMapTest.java | 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); 227 MapMaker make [all...] |
H A D | 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()
|
H A D | ConcurrentHashMultisetTest.java | 30 import com.google.common.collect.MapMaker.RemovalListener; 31 import com.google.common.collect.MapMaker.RemovalNotification; 358 MapMaker mapMaker = new MapMaker() 401 MapMaker mapMaker = new MapMaker() 428 MapMaker mapMaker = new MapMaker(); 434 MapMaker mapMaker = new MapMaker(); [all...] |
H A D | ConcurrentHashMultisetBasherTest.java | 56 MapMaker mapMaker = new MapMaker(); 57 // force MapMaker to use its own MapMakerInternalMap
|
H A D | 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 [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
H A D | MapMaker.java | 24 public class MapMaker extends Tracer { class in inherits: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) { method in class:MapMaker 127 protected MapMaker(MapMaker ol method in class:MapMaker [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | MethodInfo.java | 25 import javassist.bytecode.stackmap.MapMaker; 416 StackMapTable smt = MapMaker.make(pool, this); 433 StackMap sm = MapMaker.make2(pool, this);
|