Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for LinkedHashMultiset (0.18 sec)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        HashMultiset<E> multiset = HashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
      static <E> LinkedHashMultiset<E> generateLinkedHashMultiset(@Nullable E freshElement) {
        LinkedHashMultiset<E> multiset = LinkedHashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import static junit.framework.TestCase.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        HashMultiset<E> multiset = HashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
      static <E> LinkedHashMultiset<E> generateLinkedHashMultiset(@Nullable E freshElement) {
        LinkedHashMultiset<E> multiset = LinkedHashMultiset.create();
        multiset.add(freshElement);
        return multiset;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import static junit.framework.TestCase.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    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-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)
  10. android/guava/src/com/google/common/collect/CollectCollectors.java

          Function<? super T, ? extends E> elementFunction, ToIntFunction<? super T> countFunction) {
        checkNotNull(elementFunction);
        checkNotNull(countFunction);
        return Collector.of(
            LinkedHashMultiset::create,
            (multiset, t) ->
                multiset.add(checkNotNull(elementFunction.apply(t)), countFunction.applyAsInt(t)),
            (multiset1, multiset2) -> {
              multiset1.addAll(multiset2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top