Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SortedMultiset (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        expectAddFailure(sortedMultiset.tailMultiset(b.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), CLOSED), a);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), CLOSED), b);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), OPEN), a);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), OPEN), b);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        expectAddFailure(sortedMultiset.tailMultiset(b.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), CLOSED), a);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), CLOSED), b);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), OPEN), a);
        expectAddFailure(sortedMultiset.tailMultiset(c.getElement(), OPEN), b);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

            .testForwarding(
                SortedMultiset.class,
                new Function<SortedMultiset, SortedMultiset>() {
                  @Override
                  public SortedMultiset apply(SortedMultiset delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        features.addAll(parentBuilder.getFeatures());
    
        if (!features.remove(SERIALIZABLE_INCLUDING_VIEWS)) {
          features.remove(SERIALIZABLE);
        }
    
        SortedMultiset<E> emptyMultiset = (SortedMultiset<E>) delegate.create();
        Comparator<? super E> comparator = emptyMultiset.comparator();
        SampleElements<E> samples = delegate.samples();
        List<E> samplesList =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

            .testForwarding(
                SortedMultiset.class,
                new Function<SortedMultiset, SortedMultiset>() {
                  @Override
                  public SortedMultiset apply(SortedMultiset delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

    final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>
        implements SortedMultiset<E> {
      UnmodifiableSortedMultiset(SortedMultiset<E> delegate) {
        super(delegate);
      }
    
      @Override
      protected SortedMultiset<E> delegate() {
        return (SortedMultiset<E>) super.delegate();
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return delegate().comparator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>This method is safe to use even when {@code sortedMultiset} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code sortedMultiset} or any of its elements is null
       */
      public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) {
        return copyOfSortedEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        TreeMultisetImpl {
          @Override
          public <E extends Comparable<E>> SortedMultiset<E> create(Collection<E> contents) {
            return TreeMultiset.create(contents);
          }
        },
        ImmutableSortedMultisetImpl {
          @Override
          public <E extends Comparable<E>> SortedMultiset<E> create(Collection<E> contents) {
            return ImmutableSortedMultiset.copyOf(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)
  9. android/guava/src/com/google/common/collect/Multisets.java

       *
       * @param sortedMultiset the sorted multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       * @since 11.0
       */
      public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
          SortedMultiset<E> sortedMultiset) {
        // it's in its own file so it can be emulated for GWT
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

       *
       * @param sortedMultiset the sorted multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       * @since 11.0
       */
      public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
          SortedMultiset<E> sortedMultiset) {
        // it's in its own file so it can be emulated for GWT
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top