/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractMapBasedMultiset.java | 48 private transient Map<E, Count> backingMap; field in AbstractMapBasedMultiset 58 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { in AbstractMapBasedMultiset() argument 59 this.backingMap = checkNotNull(backingMap); in AbstractMapBasedMultiset() 64 void setBackingMap(Map<E, Count> backingMap) { in setBackingMap() argument 65 this.backingMap = backingMap; in setBackingMap() 85 backingMap.entrySet().iterator(); in entryIterator() 107 Count frequency = backingMap.get(getElement()); in entryIterator() 129 for (Count frequency : backingMap.values()) { 132 backingMap.clear(); 138 return backingMap.size(); [all …]
|
D | ArrayListMultimap.java | 132 for (Collection<V> collection : backingMap().values()) { in trimToSize()
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractMapBasedMultiset.java | 51 private transient Map<E, Count> backingMap; field in AbstractMapBasedMultiset 61 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { in AbstractMapBasedMultiset() argument 62 this.backingMap = checkNotNull(backingMap); in AbstractMapBasedMultiset() 67 void setBackingMap(Map<E, Count> backingMap) { in setBackingMap() argument 68 this.backingMap = backingMap; in setBackingMap() 88 backingMap.entrySet().iterator(); in entryIterator() 110 Count frequency = backingMap.get(getElement()); in entryIterator() 132 for (Count frequency : backingMap.values()) { 135 backingMap.clear(); 141 return backingMap.size(); [all …]
|
D | StandardTable.java | 68 @GwtTransient final Map<R, Map<C, V>> backingMap; field in StandardTable 71 StandardTable(Map<R, Map<C, V>> backingMap, in StandardTable() argument 73 this.backingMap = backingMap; in StandardTable() 88 for (Map<C, V> map : backingMap.values()) { in containsColumn() 97 return rowKey != null && safeContainsKey(backingMap, rowKey); in containsRow() 111 return backingMap.isEmpty(); in isEmpty() 116 for (Map<C, V> map : backingMap.values()) { in size() 125 backingMap.clear(); in clear() 129 Map<C, V> map = backingMap.get(rowKey); in getOrCreate() 132 backingMap.put(rowKey, map); in getOrCreate() [all …]
|
D | HashBasedTable.java | 90 Map<R, Map<C, V>> backingMap = in create() local 93 backingMap, new Factory<C, V>(expectedCellsPerRow)); in create() 111 HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { in HashBasedTable() argument 112 super(backingMap, factory); in HashBasedTable()
|
D | TreeMultimap.java | 173 NavigableMap<K, Collection<V>> backingMap() { in backingMap() method in TreeMultimap 174 return (NavigableMap<K, Collection<V>>) super.backingMap(); in backingMap() 216 return new NavigableKeySet(backingMap()); in createKeySet() 237 return new NavigableAsMap(backingMap()); in createAsMap()
|
D | StandardRowSortedTable.java | 57 StandardRowSortedTable(SortedMap<R, Map<C, V>> backingMap, in StandardRowSortedTable() argument 59 super(backingMap, factory); in StandardRowSortedTable() 63 return (SortedMap<R, Map<C, V>>) backingMap; in sortedBackingMap()
|
D | AbstractSortedKeySortedSetMultimap.java | 47 SortedMap<K, Collection<V>> backingMap() { in backingMap() method in AbstractSortedKeySortedSetMultimap 48 return (SortedMap<K, Collection<V>>) super.backingMap(); in backingMap()
|
D | MutableClassToInstanceMap.java | 55 Map<Class<? extends B>, B> backingMap) { in create() argument 56 return new MutableClassToInstanceMap<B>(backingMap); in create()
|
D | TreeBasedTable.java | 256 || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { in wholeRow() 257 wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); in wholeRow() 285 backingMap.remove(rowKey); in maintainEmptyInvariant() 320 Iterators.mergeSorted(Iterables.transform(backingMap.values(), in createColumnKeyIterator()
|
D | ArrayListMultimap.java | 137 for (Collection<V> collection : backingMap().values()) { in trimToSize()
|
D | Tables.java | 298 Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { in newCustomTable() argument 299 checkArgument(backingMap.isEmpty()); in newCustomTable() 302 return new StandardTable<R, C, V>(backingMap, factory); in newCustomTable()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | 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 …]
|
D | ForwardingNavigableMapTest.java | 49 private final NavigableMap<K, V> backingMap; field in ForwardingNavigableMapTest.StandardImplForwardingNavigableMap 51 StandardImplForwardingNavigableMap(NavigableMap<K, V> backingMap) { in StandardImplForwardingNavigableMap() argument 52 this.backingMap = backingMap; in StandardImplForwardingNavigableMap() 56 return backingMap; in delegate() 103 return backingMap.entrySet().iterator(); in entrySet() 218 private final NavigableMap<K, V> backingMap; 220 StandardLastEntryForwardingNavigableMap(NavigableMap<K, V> backingMap) { 221 this.backingMap = backingMap; 225 return backingMap;
|
D | SimpleAbstractMultisetTest.java | 93 final Map<E, Integer> backingMap = Maps.newHashMap(); field in SimpleAbstractMultisetTest.NoRemoveMultiset 97 Integer frequency = backingMap.get(element); in add() 105 backingMap.put(element, frequency + occurrences); in add() 111 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); in entryIterator() 129 Integer frequency = backingMap.get(getElement()); in entryIterator() 139 return backingMap.size();
|
D | ForwardingSortedMapTest.java | 46 private final SortedMap<K, V> backingMap; field in ForwardingSortedMapTest.StandardImplForwardingSortedMap 48 StandardImplForwardingSortedMap(SortedMap<K, V> backingMap) { in StandardImplForwardingSortedMap() argument 49 this.backingMap = backingMap; in StandardImplForwardingSortedMap() 53 return backingMap; in delegate() 96 return backingMap.entrySet().iterator(); in entrySet()
|
D | NewCustomTableTest.java | 44 Map<String, Map<Integer, Character>> backingMap in create() local 47 = Tables.newCustomTable(backingMap, factory); in create()
|
D | ForwardingMapTest.java | 50 private final Map<K, V> backingMap; field in ForwardingMapTest.StandardImplForwardingMap 52 StandardImplForwardingMap(Map<K, V> backingMap) { in StandardImplForwardingMap() argument 53 this.backingMap = backingMap; in StandardImplForwardingMap() 57 return backingMap; in delegate()
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | ConcurrentHashMap.java | 38 private final Map<K, V> backingMap; field in ConcurrentHashMap 41 this.backingMap = new HashMap<K, V>(); in ConcurrentHashMap() 45 this.backingMap = new HashMap<K, V>(initialCapacity); in ConcurrentHashMap() 49 this.backingMap = new HashMap<K, V>(initialCapacity, loadFactor); in ConcurrentHashMap() 53 this.backingMap = new HashMap<K, V>(t); in ConcurrentHashMap() 98 return backingMap.containsKey(key); in containsKey() 105 return backingMap.get(key); in get() 112 return backingMap.put(key, value); in put() 119 return backingMap.containsValue(value); in containsValue() 126 return backingMap.remove(key); in remove() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | WeakKeySet.java | 43 private Map<Key<?>, Multiset<Object>> backingMap; field in WeakKeySet 75 Multiset<Object> set = backingMap.get(keyAndSource.key); in cleanUpForCollectedState() 79 backingMap.remove(keyAndSource.key); in cleanUpForCollectedState() 91 if (backingMap == null) { in add() 92 backingMap = Maps.newHashMap(); in add() 99 Multiset<Object> sources = backingMap.get(key); in add() 102 backingMap.put(key, sources); in add() 119 return backingMap != null && backingMap.containsKey(key); in contains() 124 Multiset<Object> sources = (backingMap == null) ? null : backingMap.get(key); in getSources()
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | JSONObjectSet.java | 16 protected Map<String, T> backingMap = new HashMap<String, T>(); field in JSONObjectSet 33 return backingMap.put(getKey(arg0), arg0) == null; in add() 38 return backingMap.values().iterator(); in iterator() 43 return backingMap.remove(getKey(arg0)) != null; in remove() 48 return backingMap.containsKey(getKey(o)); in contains() 53 return backingMap.size(); in size()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | SimpleAbstractMultisetTest.java | 67 final Map<E, Integer> backingMap = Maps.newHashMap(); field in SimpleAbstractMultisetTest.NoRemoveMultiset 71 Integer frequency = backingMap.get(element); in add() 79 backingMap.put(element, frequency + occurrences); in add() 85 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); in entryIterator() 103 Integer frequency = backingMap.get(getElement()); in entryIterator() 113 return backingMap.size();
|
D | LinkedHashMultimapTest.java | 47 (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a"); in testValueSetHashTableExpansion()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | MutableTypeToInstanceMap.java | 46 private final Map<TypeToken<? extends B>, B> backingMap = Maps.newHashMap(); field in MutableTypeToInstanceMap 87 return backingMap; in delegate() 93 return (T) backingMap.put(type, value); in trustedPut() 99 return (T) backingMap.get(type); in trustedGet()
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | Table_CustomFieldSerializerBase.java | 49 writer.writeObject(table.backingMap); in serialize()
|