/libcore/luni/src/main/java/java/util/ |
HashSet.java | 34 transient HashMap<E, HashSet<E>> backingMap; 81 HashSet(HashMap<E, HashSet<E>> backingMap) { 82 this.backingMap = backingMap; 95 return backingMap.put(object, this) == null; 106 backingMap.clear(); 121 clone.backingMap = (HashMap<E, HashSet<E>>) backingMap.clone(); 138 return backingMap.containsKey(object); 150 return backingMap.isEmpty() [all...] |
TreeSet.java | 39 private transient NavigableMap<E, Object> backingMap; 44 backingMap = map; 52 backingMap = new TreeMap<E, Object>(); 79 backingMap = new TreeMap<E, Object>(comparator); 113 return backingMap.put(object, Boolean.TRUE) == null; 143 backingMap.clear(); 158 if (backingMap instanceof TreeMap) { 159 clone.backingMap = (NavigableMap<E, Object>) ((TreeMap<E, Object>) backingMap) 162 clone.backingMap = new TreeMap<E, Object>(backingMap) [all...] |
/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/guava/guava-tests/test/com/google/common/collect/ |
SimpleAbstractMultisetTest.java | 68 final Map<E, Integer> backingMap = Maps.newHashMap(); 72 Integer frequency = backingMap.get(element); 80 backingMap.put(element, frequency + occurrences); 86 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); 104 Integer frequency = backingMap.get(getElement()); 119 return backingMap.size(); 127 Integer count = backingMap.get(element); 131 backingMap.put((E) element, count - occurrences); 134 return backingMap.remove(element);
|
ConcurrentHashMultisetTest.java | 54 ConcurrentMap<String, AtomicInteger> backingMap; 59 backingMap = EasyMock.createMock(ConcurrentMap.class); 60 expect(backingMap.isEmpty()).andReturn(true); 63 multiset = new ConcurrentHashMultiset<String>(backingMap); 70 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 78 expect(backingMap.get(KEY)).andReturn(null); 88 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 97 expect(backingMap.get(KEY)).andReturn(null); 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 110 expect(backingMap.get(KEY)).andReturn(initial) [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 | 49 private final Map<K, V> backingMap; 51 StandardImplForwardingMap(Map<K, V> backingMap) { 52 this.backingMap = backingMap; 56 return backingMap;
|
TreeBasedTableTest.java | 116 assertFalse(table.backingMap.containsKey("b"));
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 52 private transient Map<E, Count> backingMap; 62 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { 63 this.backingMap = checkNotNull(backingMap); 67 Map<E, Count> backingMap() { 68 return backingMap; 72 void setBackingMap(Map<E, Count> backingMap) { 73 this.backingMap = backingMap; 93 backingMap.entrySet().iterator() [all...] |
HashBasedTable.java | 88 Map<R, Map<C, V>> backingMap = 91 backingMap, new Factory<C, V>(expectedCellsPerRow)); 109 HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { 110 super(backingMap, factory);
|
MutableClassToInstanceMap.java | 47 * empty {@code backingMap}. The caller surrenders control of the backing map, 51 Map<Class<? extends B>, B> backingMap) { 52 return new MutableClassToInstanceMap<B>(backingMap);
|
StandardTable.java | 65 @GwtTransient final Map<R, Map<C, V>> backingMap; 68 StandardTable(Map<R, Map<C, V>> backingMap, 70 this.backingMap = backingMap; 81 Map<C, V> map = safeGet(backingMap, rowKey); 89 for (Map<C, V> map : backingMap.values()) { 98 return rowKey != null && safeContainsKey(backingMap, rowKey); 105 for (Map<C, V> map : backingMap.values()) { 117 Map<C, V> map = safeGet(backingMap, rowKey); 122 return backingMap.isEmpty() [all...] |
StandardRowSortedTable.java | 57 StandardRowSortedTable(SortedMap<R, Map<C, V>> backingMap, 59 super(backingMap, factory); 63 return (SortedMap<R, Map<C, V>>) backingMap;
|
TreeBasedTable.java | 248 || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { 249 wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); 277 backingMap.remove(rowKey); 344 Iterators.mergeSorted(Iterables.transform(backingMap.values(),
|
ArrayListMultimap.java | 133 for (Collection<V> collection : backingMap().values()) {
|
Tables.java | 327 * <p>The {@code factory}-generated and {@code backingMap} classes determine 349 * <p>The table is serializable if {@code backingMap}, {@code factory}, the 353 * <p>Note: the table assumes complete ownership over of {@code backingMap} 357 * @param backingMap place to store the mapping from each row key to its 361 * @throws IllegalArgumentException if {@code backingMap} is not empty 365 Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { 366 checkArgument(backingMap.isEmpty()); 369 return new StandardTable<R, C, V>(backingMap, factory);
|
Multimaps.java | 133 stream.writeObject(backingMap()); 212 stream.writeObject(backingMap()); 290 stream.writeObject(backingMap()); 374 stream.writeObject(backingMap()); [all...] |
AbstractMultimap.java | 159 Map<K, Collection<V>> backingMap() { [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 49 private transient Map<E, Count> backingMap; 59 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { 60 this.backingMap = checkNotNull(backingMap); 64 Map<E, Count> backingMap() { 65 return backingMap; 69 void setBackingMap(Map<E, Count> backingMap) { 70 this.backingMap = backingMap; 90 backingMap.entrySet().iterator() [all...] |
ArrayListMultimap.java | 128 for (Collection<V> collection : backingMap().values()) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
ListMap.java | 94 private final HashMap<K, V> backingMap; 101 backingMap = new HashMap<K, V>(4); 107 backingMap = new HashMap<K, V>(initialCapacity); 113 backingMap = new HashMap<K, V>(map.size()); 120 return backingMap.size(); 151 return backingMap.containsKey( (K) key); 164 return backingMap.containsValue( (V) value); 173 return backingMap.get( (K) key); 186 if (backingMap.containsKey(key)){ 206 return backingMap.put(key, value) [all...] |
/external/guava/guava-gwt/src/com/google/common/collect/ |
TreeBasedTable_CustomFieldSerializer.java | 46 Map<?, ?> backingMap = (Map<?, ?>) reader.readObject(); 50 for (Entry<?, ?> row : backingMap.entrySet()) { 67 writer.writeObject(instance.backingMap);
|
HashBasedTable_CustomFieldSerializer.java | 56 writer.writeObject(instance.backingMap);
|
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/ |
guava-14.0.jar | |