Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for NavigableSet (0.11 sec)

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

          return comparator = Ordering.from(forwardMultiset().comparator()).<E>reverse();
        }
        return result;
      }
    
      @LazyInit @CheckForNull private transient NavigableSet<E> elementSet;
    
      @Override
      public NavigableSet<E> elementSet() {
        NavigableSet<E> result = elementSet;
        if (result == null) {
          return elementSet = new SortedMultisets.NavigableElementSet<>(this);
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. 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() {
    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/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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<String> list = Lists.newArrayList(elements);
          list.add("\0");
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).subSet("\0\0", "zzy");
        }
      }
    
      @GwtIncompatible // NavigableSet
      public static class ImmutableSortedSetDescendingGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.SortedMap;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Maps#synchronizedNavigableMap(NavigableMap)}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    import java.io.Serializable;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

        suite.addTest(
            NavigableSetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      public NavigableSet<String> create(String[] elements) {
                        NavigableSet<String> unfiltered = Sets.newTreeSet();
                        unfiltered.add("yyy");
                        unfiltered.addAll(ImmutableList.copyOf(elements));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public NavigableMap<K, V> descendingMap() {
          return new StandardDescendingMap();
        }
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          return new StandardNavigableKeySet();
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          return standardDescendingKeySet();
        }
    
        @Override
        public K firstKey() {
          return standardFirstKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedSet.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.Spliterator;
    import java.util.Spliterators;
    import java.util.function.Consumer;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link NavigableSet} whose contents will never change, with many other important properties
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top