Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for navigableSet (0.35 sec)

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

    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return new Maps.NavigableKeySet<>(this);
      }
    
      @Override
      public Set<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public NavigableSet<K> descendingKeySet() {
        return descendingMap().navigableKeySet();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(
          NavigableSet<E> navigableSet, @CheckForNull Object mutex) {
        return new SynchronizedNavigableSet<>(navigableSet, mutex);
      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) {
        return navigableSet(navigableSet, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(
          NavigableSet<E> navigableSet, @CheckForNull Object mutex) {
        return new SynchronizedNavigableSet<>(navigableSet, mutex);
      }
    
      @GwtIncompatible // NavigableSet
      static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) {
        return navigableSet(navigableSet, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        }
      }
    
      @GwtIncompatible // NavigableSet
      private static 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;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      @Override
      public Comparator<? super E> comparator() {
        return delegate().comparator();
      }
    
      @Override
      NavigableSet<E> createElementSet() {
        return unmodifiableNavigableSet(delegate().elementSet());
      }
    
      @Override
      public NavigableSet<E> elementSet() {
        return (NavigableSet<E>) super.elementSet();
      }
    
      @LazyInit @CheckForNull private transient UnmodifiableSortedMultiset<E> descendingMultiset;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

        this.domain = domain;
      }
    
      @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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. 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);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top