Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for SortedSet (0.05 seconds)

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

          return (SortedMap<K, V>) unfiltered;
        }
    
        @Override
        public SortedSet<K> keySet() {
          return (SortedSet<K>) super.keySet();
        }
    
        @Override
        SortedSet<K> createKeySet() {
          return new SortedKeySet();
        }
    
        @WeakOuter
        final class SortedKeySet extends KeySet implements SortedSet<K> {
          @Override
          public @Nullable Comparator<? super K> comparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Maps.java

          return (SortedMap<K, V>) unfiltered;
        }
    
        @Override
        public SortedSet<K> keySet() {
          return (SortedSet<K>) super.keySet();
        }
    
        @Override
        SortedSet<K> createKeySet() {
          return new SortedKeySet();
        }
    
        @WeakOuter
        final class SortedKeySet extends KeySet implements SortedSet<K> {
          @Override
          public @Nullable Comparator<? super K> comparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
        while (true) {
          E current = iterator.next();
          if (!iterator.hasNext()) {
            return Optional.of(current);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
        while (true) {
          E current = iterator.next();
          if (!iterator.hasNext()) {
            return Optional.of(current);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

    import java.util.Comparator;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.SortedSet;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
Back to Top