Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 125 for SortedSet (0.07 seconds)

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

        }
    
        @Override
        public SortedSet<V> get(@ParametricNullness K key) {
          return Collections.unmodifiableSortedSet(delegate().get(key));
        }
    
        @Override
        public SortedSet<V> removeAll(@Nullable Object key) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public SortedSet<V> get(@ParametricNullness K key) {
          return Collections.unmodifiableSortedSet(delegate().get(key));
        }
    
        @Override
        public SortedSet<V> removeAll(@Nullable Object key) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * <p>This method is safe to use even when {@code sortedSet} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code sortedSet} or any of its elements is null
       */
      public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) {
        Comparator<? super E> comparator = SortedIterables.comparator(sortedSet);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A navigable set which forwards all its method calls to another navigable set. Subclasses should
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          implements SortedSet<E> {
    
        FilteredSortedSet(SortedSet<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        @Override
        public @Nullable Comparator<? super E> comparator() {
          return ((SortedSet<E>) unfiltered).comparator();
        }
    
        @Override
    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)
  6. guava/src/com/google/common/collect/Sets.java

          implements SortedSet<E> {
    
        FilteredSortedSet(SortedSet<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        @Override
        public @Nullable Comparator<? super E> comparator() {
          return ((SortedSet<E>) unfiltered).comparator();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or
    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-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
        ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
        ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
        assertThat(copy).isNotSameInstanceAs(sortedSet);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSet once CollectorTester is usable to java7.
      public void testToImmutableSet_java7() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
        ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
        ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
        assertThat(copy).isNotSameInstanceAs(sortedSet);
      }
    
      public void testToImmutableSet() {
        Collector<String, ?, ImmutableSet<String>> collector = toImmutableSet();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top