Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 62 for navigableSet (0.08 seconds)

  1. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                NavigableSet.class,
                new Function<NavigableSet, NavigableSet>() {
                  @Override
                  public NavigableSet apply(NavigableSet delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
          return new NavigableElementSet<>(
              multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
          return new NavigableElementSet<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(
          NavigableSet<E> navigableSet, @Nullable Object mutex) {
        return new SynchronizedNavigableSet<>(navigableSet, mutex);
      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) {
        return navigableSet(navigableSet, null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(
          NavigableSet<E> navigableSet, @Nullable Object mutex) {
        return new SynchronizedNavigableSet<>(navigableSet, mutex);
      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) {
        return navigableSet(navigableSet, null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          (o1, o2) -> ((Comparable<Object>) o1).compareTo(o2);
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          (o1, o2) -> ((Comparable<Object>) o1).compareTo(o2);
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
          return new NavigableElementSet<>(
              multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
          return new NavigableElementSet<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

       */
      @Override
      @GwtIncompatible // NavigableSet
      public NavigableSet<V> get(@ParametricNullness K key) {
        return (NavigableSet<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
       * NavigableSet}, instead of the {@link java.util.Set} specified in the {@link Multimap}
       * interface.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. android/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)
  10. 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
    - 83K bytes
    - Click Count (0)
Back to Top