- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for backingMap (0.08 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
/** Standard constructor. */ protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { checkArgument(backingMap.isEmpty()); this.backingMap = backingMap; } /** Used during deserialization only. The backing map must be empty. */ void setBackingMap(Map<E, Count> backingMap) { this.backingMap = backingMap; } // Required Implementations /** * {@inheritDoc} *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K 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) -
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/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) -
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) -
android/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: Mon Sep 22 18:35:44 GMT 2025 - 29.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
ObjectCountHashMap<? extends E> backingMap = tryGetMap(multiset); if (backingMap != null) { contents.ensureCapacity(Math.max(contents.size(), backingMap.size())); for (int i = backingMap.firstIndex(); i >= 0; i = backingMap.nextIndex(i)) { addCopies(backingMap.getKey(i), backingMap.getValue(i)); } } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
// If the row was previously empty, we check if there's a new row here every time we're queried. void updateWholeRowField() { if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); } } @Override @Nullable SortedMap<C, V> computeBackingRowMap() { updateWholeRowField(); SortedMap<C, V> map = wholeRow;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
// If the row was previously empty, we check if there's a new row here every time we're queried. void updateWholeRowField() { if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) { wholeRow = (SortedMap<C, V>) backingMap.get(rowKey); } } @Override @Nullable SortedMap<C, V> computeBackingRowMap() { updateWholeRowField(); SortedMap<C, V> map = wholeRow;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0)