Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for subMultiset (0.12 sec)

  1. guava/src/com/google/common/collect/DescendingMultiset.java

      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        return forwardMultiset()
            .subMultiset(toElement, toBoundType, fromElement, fromBoundType)
            .descendingMultiset();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
        public SortedMultiset<E> subMultiset(
            E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
          return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

      }
    
      /**
       * Returns {@code true} if {@code subMultiset.count(o) <= superMultiset.count(o)} for all {@code
       * o}.
       *
       * @since 10.0
       */
      @CanIgnoreReturnValue
      public static boolean containsOccurrences(Multiset<?> superMultiset, Multiset<?> subMultiset) {
        checkNotNull(superMultiset);
        checkNotNull(subMultiset);
        for (Entry<?> entry : subMultiset.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

      }
    
      /**
       * Returns {@code true} if {@code subMultiset.count(o) <= superMultiset.count(o)} for all {@code
       * o}.
       *
       * @since 10.0
       */
      @CanIgnoreReturnValue
      public static boolean containsOccurrences(Multiset<?> superMultiset, Multiset<?> subMultiset) {
        checkNotNull(superMultiset);
        checkNotNull(subMultiset);
        for (Entry<?> entry : subMultiset.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
        public SortedMultiset<E> subMultiset(
            E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
          return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType);
        }
    
        @Override
    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. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType);
    
      @Override
      public ImmutableSortedMultiset<E> subMultiset(
          E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
        checkArgument(
            comparator().compare(lowerBound, upperBound) <= 0,
            "Expected lowerBound <= upperBound but %s > %s",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top