- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 34 for backingMap (0.74 seconds)
-
android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java
public TreeMap<Integer, Character> get() { return Maps.newTreeMap(); } }; Map<String, Map<Integer, Character>> backingMap = new LinkedHashMap<>(); Table<String, Integer, Character> table = newCustomTable(backingMap, factory); populate(table, data); return table; } public void testRowKeySetOrdering() { table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
static class StandardImplForwardingMap<K, V> extends ForwardingMap<K, V> { private final Map<K, V> backingMap; StandardImplForwardingMap(Map<K, V> backingMap) { this.backingMap = backingMap; } @Override protected Map<K, V> delegate() { return backingMap; } @Override public boolean containsKey(Object key) { return standardContainsKey(key); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
} @Override public SortedMap<K, Collection<V>> asMap() { return (SortedMap<K, Collection<V>>) super.asMap(); } @Override SortedMap<K, Collection<V>> backingMap() { return (SortedMap<K, Collection<V>>) super.backingMap(); } @Override public SortedSet<K> keySet() { return (SortedSet<K>) super.keySet(); } @Override Set<K> createKeySet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
} @Override public SortedMap<K, Collection<V>> asMap() { return (SortedMap<K, Collection<V>>) super.asMap(); } @Override SortedMap<K, Collection<V>> backingMap() { return (SortedMap<K, Collection<V>>) super.backingMap(); } @Override public SortedSet<K> keySet() { return (SortedSet<K>) super.keySet(); } @Override Set<K> createKeySet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
ConcurrentMap<String, AtomicInteger> backingMap; ConcurrentHashMultiset<String> multiset; @SuppressWarnings("unchecked") @Override protected void setUp() { backingMap = mock(ConcurrentMap.class); when(backingMap.isEmpty()).thenReturn(true); multiset = ConcurrentHashMultiset.create(backingMap); } public void testCount_elementPresent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
} @Override protected Map<TypeToken<? extends @NonNull B>, B> delegate() { return backingMap; } @SuppressWarnings("unchecked") // value could not get in if not a T private <T extends B> @Nullable T trustedPut( TypeToken<@NonNull T> type, @ParametricNullness T value) { return (T) backingMap.put(type, value); } @SuppressWarnings("unchecked") // value could not get in if not a T
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
checkArgument(backingMap.isEmpty()); checkNotNull(factory); // TODO(jlevy): Wrap factory to validate that the supplied maps are empty? return new StandardTable<>(backingMap, factory); } /** * Returns a view of a table where each value is transformed by a function. All other properties * of the table, such as iteration order, are left intact. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
private transient volatile @Nullable CacheEntry<K, V> cacheEntry1; private transient volatile @Nullable CacheEntry<K, V> cacheEntry2; MapRetrievalCache(Map<K, V> backingMap) { super(backingMap); } @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map. @Override @Nullable V get(Object key) { checkNotNull(key); V value = getIfCached(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
*/ @GwtCompatible class StandardTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { final Map<R, Map<C, V>> backingMap; final Supplier<? extends Map<C, V>> factory; StandardTable(Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { this.backingMap = backingMap; this.factory = factory; } // Accessors @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Tables.java
checkArgument(backingMap.isEmpty()); checkNotNull(factory); // TODO(jlevy): Wrap factory to validate that the supplied maps are empty? return new StandardTable<>(backingMap, factory); } /** * Returns a view of a table where each value is transformed by a function. All other properties * of the table, such as iteration order, are left intact. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 25.3K bytes - Click Count (0)