/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 | 172 SortedMap<K, Collection<V>> backingMap() { in backingMap() method in TreeMultimap 173 return (SortedMap<K, Collection<V>>) super.backingMap(); in backingMap() 210 return new SortedKeySet(backingMap()); in createKeySet() 229 return new SortedAsMap(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()
|
D | Multimaps.java | 137 stream.writeObject(backingMap()); in writeObject() 216 stream.writeObject(backingMap()); in writeObject() 294 stream.writeObject(backingMap()); in writeObject() 378 stream.writeObject(backingMap()); in writeObject()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetTest.java | 79 ConcurrentMap<String, AtomicInteger> backingMap; 84 backingMap = EasyMock.createMock(ConcurrentMap.class); 85 expect(backingMap.isEmpty()).andReturn(true); 88 multiset = new ConcurrentHashMultiset<String>(backingMap); 95 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 103 expect(backingMap.get(KEY)).andReturn(null); 113 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 122 expect(backingMap.get(KEY)).andReturn(null); 123 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 135 expect(backingMap.get(KEY)).andReturn(initial); [all …]
|
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 | 47 private final SortedMap<K, V> backingMap; field in ForwardingSortedMapTest.StandardImplForwardingSortedMap 49 StandardImplForwardingSortedMap(SortedMap<K, V> backingMap) { in StandardImplForwardingSortedMap() argument 50 this.backingMap = backingMap; in StandardImplForwardingSortedMap() 54 return backingMap; in delegate() 99 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/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | ListMap.java | 94 private final HashMap<K, V> backingMap; field in ListMap 101 backingMap = new HashMap<K, V>(4); in ListMap() 107 backingMap = new HashMap<K, V>(initialCapacity); in ListMap() 113 backingMap = new HashMap<K, V>(map.size()); in ListMap() 120 return backingMap.size(); in size() 151 return backingMap.containsKey( (K) key); in containsKey() 164 return backingMap.containsValue( (V) value); in containsValue() 173 return backingMap.get( (K) key); in get() 186 if (backingMap.containsKey(key)){ in put() 206 return backingMap.put(key, value); in put() [all …]
|
/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/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()
|
D | TreeBasedTableTest.java | 84 assertFalse(table.backingMap.containsKey("b")); in testClearSubMapOfRowMap()
|
/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()
|