Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for ImmutableMap (0.65 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * multimap. Keys and values appear in the same order as in this multimap.
       */
      @Override
      @SuppressWarnings("unchecked") // a widening cast
      public ImmutableMap<K, Collection<V>> asMap() {
        return (ImmutableMap) map;
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        throw new AssertionError("should never be called");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            int i,
            String string,
            CharSequence charSequence,
            List<String> list,
            ImmutableList<Integer> immutableList,
            Map<String, Integer> map,
            ImmutableMap<String, String> immutableMap,
            Set<String> set,
            ImmutableSet<Integer> immutableSet,
            SortedSet<Number> sortedSet,
            ImmutableSortedSet<Number> immutableSortedSet,
            Multiset<String> multiset,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            type          | reference                         | output
            ImmutableList | "ImmutableList.of('a', 'b', 'c')" | "[a, b, c]"
            ImmutableSet  | "ImmutableSet.of('a', 'b', 'c')"  | "[a, b, c]"
            ImmutableMap  | "ImmutableMap.of(1, 'a', 2, 'b')" | "[1:a, 2:b]"
        }
    
        def "restores task fields whose value is service of type #type"() {
            buildFile << """
                class SomeBean {
                    ${type} value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ArrayTable.java

      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
      // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex?
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final @Nullable V[][] array;
    
      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

       * multimap. Keys and values appear in the same order as in this multimap.
       */
      @Override
      @SuppressWarnings("unchecked") // a widening cast
      public ImmutableMap<K, Collection<V>> asMap() {
        return (ImmutableMap) map;
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        throw new AssertionError("should never be called");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          Map<K, V> map = new HashMap<K, V>();
          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public void refresh(K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Set<Integer> googleValues = ImmutableSet.of(2, 6);
        Set<Integer> treeValues = ImmutableSet.of(4, 0);
        assertEquals(ImmutableMap.of("google", googleValues, "tree", treeValues), asMap.tailMap("g"));
        assertEquals(ImmutableMap.of("google", googleValues, "foo", fooValues), asMap.headMap("h"));
        assertEquals(ImmutableMap.of("google", googleValues), asMap.subMap("g", "h"));
      }
    
      public void testTailSetClear() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
      // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex?
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final @Nullable V[][] array;
    
      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import com.google.common.testing.NullPointerTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.2K bytes
    - Viewed (0)
Back to top