Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 508 for maps (0.02 sec)

  1. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DenseImmutableTable.java

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] array = (@Nullable V[][]) new Object[rowSpace.size()][columnSpace.size()];
        this.values = array;
        this.rowKeyToIndex = Maps.indexMap(rowSpace);
        this.columnKeyToIndex = Maps.indexMap(columnSpace);
        rowCounts = new int[rowKeyToIndex.size()];
        columnCounts = new int[columnKeyToIndex.size()];
        int[] cellRowIndices = new int[cellList.size()];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.graph;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 22:32:46 UTC 2017
    - 1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SortedMapDifference.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.SortedMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An object representing the differences between two sorted maps.
     *
     * @author Louis Wasserman
     * @since 8.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface SortedMapDifference<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return new ConcurrentHashMap<>(map);
          }
        },
        ImmutableMapImpl {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            return ImmutableMap.copyOf(map);
          }
        },
        MapMakerStrongKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.graph;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 22:32:46 UTC 2017
    - 1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEntry.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An immutable {@code Map.Entry}, used both by {@link
     * com.google.common.collect.Maps#immutableEntry(Object, Object)} and by other parts of {@code
     * common.collect} as a superclass.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 19 21:29:44 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.newHashMap;
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top