Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 77 for navigableSet (0.62 seconds)

  1. android/guava/src/com/google/common/collect/Sets.java

        }
      }
    
      @GwtIncompatible // NavigableSet
      private static final class FilteredNavigableSet<E extends @Nullable Object>
          extends FilteredSortedSet<E> implements NavigableSet<E> {
        FilteredNavigableSet(NavigableSet<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        NavigableSet<E> unfiltered() {
          return (NavigableSet<E>) unfiltered;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          Collection<E> collection) {
        if (collection instanceof NavigableSet) {
          return unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/DescendingMultiset.java

          result = Ordering.from(forwardMultiset().comparator()).reverse();
          comparator = result;
        }
        return result;
      }
    
      @LazyInit private transient @Nullable NavigableSet<E> elementSet;
    
      @Override
      public NavigableSet<E> elementSet() {
        NavigableSet<E> result = elementSet;
        if (result == null) {
          return elementSet = new SortedMultisets.NavigableElementSet<>(this);
        }
        return result;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/AbstractSortedMultiset.java

      }
    
      AbstractSortedMultiset(Comparator<? super E> comparator) {
        this.comparator = checkNotNull(comparator);
      }
    
      @Override
      public NavigableSet<E> elementSet() {
        return (NavigableSet<E>) super.elementSet();
      }
    
      @Override
      NavigableSet<E> createElementSet() {
        return new SortedMultisets.NavigableElementSet<>(this);
      }
    
      @Override
      public Comparator<? super E> comparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      @WeakOuter
      final class WrappedNavigableSet extends WrappedSortedSet implements NavigableSet<V> {
        WrappedNavigableSet(
            @ParametricNullness K key, NavigableSet<V> delegate, @Nullable WrappedCollection ancestor) {
          super(key, delegate, ancestor);
        }
    
        @Override
        NavigableSet<V> getSortedSetDelegate() {
          return (NavigableSet<V>) super.getSortedSetDelegate();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      public Test testsForCheckedNavigableSet() {
        return SortedSetTestSuiteBuilder.using(
                new TestStringSortedSetGenerator() {
                  @Override
                  public NavigableSet<String> create(String[] elements) {
                    NavigableSet<String> innerSet = new TreeSet<>();
                    Collections.addAll(innerSet, elements);
                    return Collections.checkedNavigableSet(innerSet, String.class);
                  }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link NavigableSet} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

      }
    
      @Override
      public ContiguousSet<C> headSet(C toElement) {
        return headSetImpl(checkNotNull(toElement), false);
      }
    
      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> headSet(C toElement, boolean inclusive) {
        return headSetImpl(checkNotNull(toElement), inclusive);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          Collection<E> collection) {
        if (collection instanceof NavigableSet) {
          return unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      @GwtIncompatible // NavigableSet
      public ImmutableSortedSet<E> descendingSet() {
        return forward;
      }
    
      @Override
      @GwtIncompatible // NavigableSet
      public UnmodifiableIterator<E> descendingIterator() {
        return forward.iterator();
      }
    
      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<E> createDescendingSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top