Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for ImmutableMultiset (0.14 sec)

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

      }
    
      /**
       * Returns an {@code ImmutableMultiset} containing all of the elements from this fluent iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code ImmutableMultiset.copyOf(stream.iterator())}, or
       * pass {@link ImmutableMultiset#toImmutableMultiset} to {@code stream.collect()}.
       *
       * @throws NullPointerException if any element is null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

          Collector<Range<E>, ?, ImmutableRangeSet<E>> toImmutableRangeSet() {
        return (Collector) TO_IMMUTABLE_RANGE_SET;
      }
    
      // Multisets
    
      static <T extends @Nullable Object, E> Collector<T, ?, ImmutableMultiset<E>> toImmutableMultiset(
          Function<? super T, ? extends E> elementFunction, ToIntFunction<? super T> countFunction) {
        checkNotNull(elementFunction);
        checkNotNull(countFunction);
        return Collector.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.ImmutableSortedMultiset;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       */
      @Override
      public ImmutableMultiset<K> keys() {
        return (ImmutableMultiset<K>) super.keys();
      }
    
      @Override
      ImmutableMultiset<K> createKeys() {
        return new Keys();
      }
    
      @SuppressWarnings("serial") // Uses writeReplace, not default serialization
      @WeakOuter
      class Keys extends ImmutableMultiset<K> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        LinkedHashMultiset<E> multiset = LinkedHashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
      static <E> ImmutableMultiset<E> generateImmutableMultiset(E freshElement) {
        return ImmutableMultiset.of(freshElement);
      }
    
      @Generates
      static <E extends Comparable<E>> SortedMultiset<E> generateSortedMultiset(E freshElement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.ImmutableSortedMultiset;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        LinkedHashMultiset<E> multiset = LinkedHashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
      static <E> ImmutableMultiset<E> generateImmutableMultiset(E freshElement) {
        return ImmutableMultiset.of(freshElement);
      }
    
      @Generates
      static <E extends Comparable<E>> SortedMultiset<E> generateSortedMultiset(E freshElement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ImmutableMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
            return ImmutableMultiset.copyOf(contents);
          }
        };
      }
    
      enum SortedMultisetImpl implements CollectionsImplEnum {
        TreeMultisetImpl {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top