Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for headMultiset (0.12 sec)

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

        expectAddFailure(sortedMultiset.headMultiset(b.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), CLOSED), c);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), CLOSED), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), c);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), a);
      }
    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. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        expectAddFailure(sortedMultiset.headMultiset(b.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), CLOSED), c);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), CLOSED), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), c);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), b);
        expectAddFailure(sortedMultiset.headMultiset(a.getElement(), OPEN), a);
      }
    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/src/com/google/common/collect/ForwardingSortedMultiset.java

        entryIterator.remove();
        return entry;
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
        return delegate().headMultiset(upperBound, boundType);
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          @ParametricNullness E lowerBound,
          BoundType lowerBoundType,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

        entry = Multisets.immutableEntry(entry.getElement(), entry.getCount());
        entryIterator.remove();
        return entry;
      }
    
      @Override
      public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return delegate().headMultiset(upperBound, boundType);
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedMultisets.java

        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(Integer.MAX_VALUE, ms.count("b"));
        assertEquals(3, ms.count("c"));
    
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size());
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size());
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size());
    
        assertEquals(3, ms.tailMultiset("c", CLOSED).size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        return forward;
      }
    
      @Override
      public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return forward.tailMultiset(upperBound, boundType).descendingMultiset();
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
        return forward.headMultiset(lowerBound, boundType).descendingMultiset();
      }
    
      @Override
      boolean isPartialView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
        return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType));
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      @CheckForNull
      public Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
        return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType));
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          @ParametricNullness E lowerBound,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DescendingMultiset.java

      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        return forwardMultiset().pollFirstEntry();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E toElement, BoundType boundType) {
        return forwardMultiset().tailMultiset(toElement, boundType).descendingMultiset();
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top