Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for SortedSet (0.22 sec)

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

        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
      SortedSet<V> createUnmodifiableEmptyCollection() {
        return unmodifiableCollectionSubclass(createCollection());
      }
    
      @Override
      <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        if (collection instanceof NavigableSet) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

      @Override
      protected abstract SortedSetMultimap<K, V> delegate();
    
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @Override
      public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          return checkedCreate(nullCheckedTreeSet(elements));
        }
      }
    
      public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator {
        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          SortedSet<Integer> set = nullCheckedTreeSet(elements);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      public Test testsForTreeSetWithComparator() {
        return NavigableSetTestSuiteBuilder.using(
                new TestStringSortedSetGenerator() {
                  @Override
                  public SortedSet<String> create(String[] elements) {
                    SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator());
                    Collections.addAll(set, elements);
                    return set;
                  }
                })
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

    import com.google.common.base.Predicate;
    import com.google.common.collect.FilteredCollectionsTestUtil.AbstractFilteredSortedSetTest;
    import java.util.SortedSet;
    import java.util.TreeSet;
    
    public final class SetsFilterSortedSetTest
        extends AbstractFilteredSortedSetTest<SortedSet<Integer>> {
      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        final TreeSet<Integer> result = Sets.newTreeSet(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
      @Override
      public SortedSet<E> tailSet(E fromElement) {
        return tailSet(fromElement, true);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultisetBridge.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Superinterface of {@link SortedMultiset} to introduce a bridge method for {@code elementSet()},
     * to ensure binary compatibility with older Guava versions that specified {@code elementSet()} to
     * return {@code SortedSet}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      private static <E extends @Nullable Object> SortedSet<E> sortedSet(
          SortedSet<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSortedSet<>(set, mutex);
      }
    
      static class SynchronizedSortedSet<E extends @Nullable Object> extends SynchronizedSet<E>
          implements SortedSet<E> {
        SynchronizedSortedSet(SortedSet<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

    import java.util.List;
    import java.util.SortedSet;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
        implements TestSortedSetGenerator<String> {
    
      @Override
      public SortedSet<String> create(Object... elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

    import java.util.SortedMap;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of a {@link SortedSetMultimap} with a sorted key set.
     *
     * <p>This superclass allows {@code TreeMultimap} to override methods to return navigable set and
     * map types in non-GWT only, while GWT code will inherit the SortedMap/SortedSet overrides.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top