Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for linkedHashMultiset (0.31 sec)

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

        }
    
        {
          ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        Multiset<@Nullable String> multisetWithNull =
            LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
          assertThrows(
              NullPointerException.class, () -> builder.addAll((Multiset<String>) multisetWithNull));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return HashMultiset.create(contents);
          }
        },
        LinkedHashMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
            return LinkedHashMultiset.create(contents);
          }
        },
        ConcurrentHashMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        }
    
        {
          ImmutableSortedMultiset.Builder<String> builder = ImmutableSortedMultiset.naturalOrder();
          Multiset<String> multisetWithNull = LinkedHashMultiset.create(asList("a", null, "b"));
          assertThrows(NullPointerException.class, () -> builder.addAll(multisetWithNull));
        }
      }
    
      public void testBuilderAddCopiesHandlesNullsCorrectly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        }
    
        {
          ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        Multiset<@Nullable String> multisetWithNull =
            LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
          assertThrows(
              NullPointerException.class, () -> builder.addAll((Multiset<String>) multisetWithNull));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top