/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
ConcurrentHashMap.java | 38 private final Map<K, V> backingMap; 41 this.backingMap = new HashMap<K, V>(); 45 this.backingMap = new HashMap<K, V>(initialCapacity); 49 this.backingMap = new HashMap<K, V>(initialCapacity, loadFactor); 53 this.backingMap = new HashMap<K, V>(t); 98 return backingMap.containsKey(key); 105 return backingMap.get(key); 112 return backingMap.put(key, value); 119 return backingMap.containsValue(value); 126 return backingMap.remove(key) [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
JSONObjectSet.java | 16 protected Map<String, T> backingMap = new HashMap<String, T>(); 33 return backingMap.put(getKey(arg0), arg0) == null; 38 return backingMap.values().iterator(); 43 return backingMap.remove(getKey(arg0)) != null; 48 return backingMap.containsKey(getKey(o)); 53 return backingMap.size();
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 51 private transient Map<E, Count> backingMap; 61 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { 62 this.backingMap = checkNotNull(backingMap); 67 void setBackingMap(Map<E, Count> backingMap) { 68 this.backingMap = backingMap; 88 backingMap.entrySet().iterator(); 110 Count frequency = backingMap.get(getElement()); 132 for (Count frequency : backingMap.values()) [all...] |
AbstractSortedKeySortedSetMultimap.java | 47 SortedMap<K, Collection<V>> backingMap() { 48 return (SortedMap<K, Collection<V>>) super.backingMap();
|
HashBasedTable.java | 90 Map<R, Map<C, V>> backingMap = 93 backingMap, new Factory<C, V>(expectedCellsPerRow)); 111 HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { 112 super(backingMap, factory);
|
MutableClassToInstanceMap.java | 51 * empty {@code backingMap}. The caller surrenders control of the backing map, 55 Map<Class<? extends B>, B> backingMap) { 56 return new MutableClassToInstanceMap<B>(backingMap);
|
StandardTable.java | 68 @GwtTransient final Map<R, Map<C, V>> backingMap; 71 StandardTable(Map<R, Map<C, V>> backingMap, 73 this.backingMap = backingMap; 88 for (Map<C, V> map : backingMap.values()) { 97 return rowKey != null && safeContainsKey(backingMap, rowKey); 111 return backingMap.isEmpty(); 116 for (Map<C, V> map : backingMap.values()) { 125 backingMap.clear(); 129 Map<C, V> map = backingMap.get(rowKey) [all...] |
StandardRowSortedTable.java | 57 StandardRowSortedTable(SortedMap<R, Map<C, V>> backingMap, 59 super(backingMap, factory); 63 return (SortedMap<R, Map<C, V>>) backingMap;
|
TreeMultimap.java | 173 NavigableMap<K, Collection<V>> backingMap() { 174 return (NavigableMap<K, Collection<V>>) super.backingMap(); 216 return new NavigableKeySet(backingMap()); 237 return new NavigableAsMap(backingMap());
|
TreeBasedTable.java | 256 || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { 257 wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); 285 backingMap.remove(rowKey); 320 Iterators.mergeSorted(Iterables.transform(backingMap.values(),
|
ArrayListMultimap.java | 137 for (Collection<V> collection : backingMap().values()) {
|
Tables.java | 259 * <p>The {@code factory}-generated and {@code backingMap} classes determine 281 * <p>The table is serializable if {@code backingMap}, {@code factory}, the 285 * <p>Note: the table assumes complete ownership over of {@code backingMap} 289 * @param backingMap place to store the mapping from each row key to its 293 * @throws IllegalArgumentException if {@code backingMap} is not empty 298 Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { 299 checkArgument(backingMap.isEmpty()); 302 return new StandardTable<R, C, V>(backingMap, factory);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 48 private transient Map<E, Count> backingMap; 58 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { 59 this.backingMap = checkNotNull(backingMap); 64 void setBackingMap(Map<E, Count> backingMap) { 65 this.backingMap = backingMap; 85 backingMap.entrySet().iterator(); 107 Count frequency = backingMap.get(getElement()); 129 for (Count frequency : backingMap.values()) [all...] |
ArrayListMultimap.java | 132 for (Collection<V> collection : backingMap().values()) {
|
/external/guice/core/src/com/google/inject/internal/ |
WeakKeySet.java | 43 private Map<Key<?>, Multiset<Object>> backingMap; 75 Multiset<Object> set = backingMap.get(keyAndSource.key); 79 backingMap.remove(keyAndSource.key); 91 if (backingMap == null) { 92 backingMap = Maps.newHashMap(); 99 Multiset<Object> sources = backingMap.get(key); 102 backingMap.put(key, sources); 119 return backingMap != null && backingMap.containsKey(key); 124 Multiset<Object> sources = (backingMap == null) ? null : backingMap.get(key) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
SimpleAbstractMultisetTest.java | 67 final Map<E, Integer> backingMap = Maps.newHashMap(); 71 Integer frequency = backingMap.get(element); 79 backingMap.put(element, frequency + occurrences); 85 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); 103 Integer frequency = backingMap.get(getElement()); 113 return backingMap.size();
|
LinkedHashMultimapTest.java | 47 (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 104 ConcurrentMap<String, AtomicInteger> backingMap; 109 backingMap = EasyMock.createMock(ConcurrentMap.class); 110 expect(backingMap.isEmpty()).andReturn(true); 113 multiset = new ConcurrentHashMultiset<String>(backingMap); 120 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 128 expect(backingMap.get(KEY)).andReturn(null); 138 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 147 expect(backingMap.get(KEY)).andReturn(null); 148 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 160 expect(backingMap.get(KEY)).andReturn(initial) [all...] |
SimpleAbstractMultisetTest.java | 93 final Map<E, Integer> backingMap = Maps.newHashMap(); 97 Integer frequency = backingMap.get(element); 105 backingMap.put(element, frequency + occurrences); 111 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); 129 Integer frequency = backingMap.get(getElement()); 139 return backingMap.size();
|
ForwardingNavigableMapTest.java | 49 private final NavigableMap<K, V> backingMap; 51 StandardImplForwardingNavigableMap(NavigableMap<K, V> backingMap) { 52 this.backingMap = backingMap; 56 return backingMap; 103 return backingMap.entrySet().iterator(); 218 private final NavigableMap<K, V> backingMap; 220 StandardLastEntryForwardingNavigableMap(NavigableMap<K, V> backingMap) { 221 this.backingMap = backingMap; [all...] |
NewCustomTableTest.java | 44 Map<String, Map<Integer, Character>> backingMap 47 = Tables.newCustomTable(backingMap, factory);
|
ForwardingSortedMapTest.java | 46 private final SortedMap<K, V> backingMap; 48 StandardImplForwardingSortedMap(SortedMap<K, V> backingMap) { 49 this.backingMap = backingMap; 53 return backingMap; 96 return backingMap.entrySet().iterator();
|
ForwardingMapTest.java | 50 private final Map<K, V> backingMap; 52 StandardImplForwardingMap(Map<K, V> backingMap) { 53 this.backingMap = backingMap; 57 return backingMap;
|
/external/guava/guava/src/com/google/common/reflect/ |
MutableTypeToInstanceMap.java | 46 private final Map<TypeToken<? extends B>, B> backingMap = Maps.newHashMap(); 87 return backingMap; 93 return (T) backingMap.put(type, value); 99 return (T) backingMap.get(type);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
Table_CustomFieldSerializerBase.java | 49 writer.writeObject(table.backingMap);
|