Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for backingMap (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
        table.row("b").subMap("b", "y").clear();
        assertEquals(table.row("b"), ImmutableMap.of());
        assertFalse(table.backingMap.containsKey("b"));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
        table.row("b").subMap("b", "y").clear();
        assertEquals(table.row("b"), ImmutableMap.of());
        assertFalse(table.backingMap.containsKey("b"));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ArrayListMultimap.java

       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
        for (Collection<V> collection : backingMap().values()) {
          ArrayList<V> arrayList = (ArrayList<V>) collection;
          arrayList.trimToSize();
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
              Hashing.needsResizing(
                  valueSet.size(),
                  valueSet.hashTable.length,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
              Hashing.needsResizing(
                  valueSet.size(),
                  valueSet.hashTable.length,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        @GwtIncompatible
        @J2ktIncompatible
            private void writeObject(ObjectOutputStream stream) throws IOException {
          stream.defaultWriteObject();
          stream.writeObject(factory);
          stream.writeObject(backingMap());
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            @SuppressWarnings("unchecked") // reading data stored by writeObject
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 86.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * @return an empty collection of values
       */
      Collection<V> createCollection(@ParametricNullness K key) {
        return createCollection();
      }
    
      Map<K, Collection<V>> backingMap() {
        return map;
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return totalSize;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
Back to Top