Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for DescendingSet (0.13 sec)

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

        return forward.tailSet(toElement, inclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> subSetImpl(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

        return forward.tailSet(toElement, inclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> subSetImpl(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          return new NavigableElementSet<>(multiset().descendingMultiset());
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return descendingSet().iterator();
        }
    
        @Override
        @CheckForNull
        public E pollFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      @Override
      public NavigableSet<E> descendingSet() {
        return delegate().descendingSet();
      }
    
      /**
       * A sensible implementation of {@link NavigableSet#descendingSet} in terms of the other methods
       * of {@link NavigableSet}, notably including {@link NavigableSet#descendingIterator}.
       *
       * <p>In many cases, you may wish to override {@link ForwardingNavigableSet#descendingSet} to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        return forward.firstEntry();
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
      public ImmutableSortedSet<E> elementSet() {
        return forward.elementSet().descendingSet();
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return forward.entrySet().asList().reverse().get(index);
      }
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public Iterator<E> descendingIterator() {
        return delegate.descendingIterator();
      }
    
      @Override
      public NavigableSet<E> descendingSet() {
        return new SafeTreeSet<>(delegate.descendingSet());
      }
    
      @Override
      public E first() {
        return delegate.first();
      }
    
      @Override
      public @Nullable E floor(E e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
       * Returns the {@link Method} instances for the test methods in this class that create a set with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
       * Returns the {@link Method} instances for the test methods in this class that create a set with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top