Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 920 for maps (0.02 sec)

  1. android/guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file) throws IOException {
        checkNotNull(file);
        return map(file, MapMode.READ_ONLY);
      }
    
      /**
       * Fully maps a file in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

        private final ImmutableMap<TypeVariableKey, Type> map;
    
        TypeTable() {
          this.map = ImmutableMap.of();
        }
    
        private TypeTable(ImmutableMap<TypeVariableKey, Type> map) {
          this.map = map;
        }
    
        /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
        final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * in the following code fragment:
       *
       * {@snippet :
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
       * }
       *
       * <p>The returned set is serializable if the backing map is.
       *
       * @param map the backing map
       * @return the set backed by the map
       * @throws IllegalArgumentException if {@code map} is not empty
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertThat(map).hasSize(size);
        if (size > 0) {
          assertThat(map.isEmpty()).isFalse();
        } else {
          assertThat(map.isEmpty()).isTrue();
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A sorted map which forwards all its method calls to another sorted map. Subclasses should
     * override one or more methods to modify the behavior of the backing sorted map as desired per the
     * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.LocalCache.Strength.STRONG;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Function;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

       * RowSortedTable subinterface with the revised methods?
       */
    
      StandardRowSortedTable(
          SortedMap<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        super(backingMap, factory);
      }
    
      private SortedMap<R, Map<C, V>> sortedBackingMap() {
        return (SortedMap<R, Map<C, V>>) backingMap;
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top