Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for linkedHashKeys (0.51 sec)

  1. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
            MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> unusedC =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
      public void testGenerics_gwtCompatible() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CollectCollectors.java

            flatteningToMultimap(
                input -> checkNotNull(keyFunction.apply(input)),
                input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull),
                MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build),
            ImmutableListMultimap::copyOf);
      }
    
      static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * back into the multimap, that key will come last in the key iteration order.
       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys() {
        return linkedHashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses an hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       *                  MultimapBuilder.linkedHashKeys().arrayListValues()::build));
       *
       * // is equivalent to
       *
       * static final ListMultimap<Character, Character> FIRST_LETTER_MULTIMAP;
       *
       * static {
       *     FIRST_LETTER_MULTIMAP = MultimapBuilder.linkedHashKeys().arrayListValues().build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top