Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 125 for SortedSet (0.05 seconds)

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

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> encloseAll(Iterable<C> values) {
        checkNotNull(values);
        if (values instanceof SortedSet) {
          SortedSet<C> set = (SortedSet<C>) values;
          Comparator<?> comparator = set.comparator();
          if (Ordering.<C>natural().equals(comparator) || comparator == null) {
            return closed(set.first(), set.last());
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K 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. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

    import configurations.ParallelizationMethod
    import java.util.SortedSet
    
    class TestClassTime(
        val sourceSet: String,
        val buildTimeMs: Int,
    )
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
        val buckets: List<FunctionalTestBucket>,
    )
    
    data class FunctionalTestBucket(
        val subprojects: SortedSet<String>,
        val parallelizationMethod: ParallelizationMethod,
    ) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Collection;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import java.util.SortedSet;
    
    /**
     * Optional features of classes derived from {@code Collection}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.immutableSortedCopy(input).get(0);
          }
        }
        return dummy;
      }
    
      @Benchmark
      int sortedSet(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += new TreeSet<Integer>(input).first();
          }
        } else {
          for (int i = 0; i < reps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/TreeBasedTable.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param s the sorted set to be placed in the created set
         * @return a new instance of {@link ConcurrentSkipListSet}
         * @see ConcurrentSkipListSet#ConcurrentSkipListSet(SortedSet)
         */
        public static <E> ConcurrentSkipListSet<E> newConcurrentSkipListSet(final SortedSet<? extends E> s) {
            return new ConcurrentSkipListSet<E>(s);
        }
    
        /**
         * Creates and returns a new instance of {@link CopyOnWriteArrayList}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet
     * implementation.
     */
    @GwtIncompatible
    public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> {
      public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet
     * implementation.
     */
    @GwtIncompatible
    public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> {
      public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
Back to Top