Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 138 for sorted_op (0.13 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    @GwtCompatible
    public abstract class AbstractImmutableSortedMapMapInterfaceTest<K, V>
        extends SortedMapInterfaceTest<K, V> {
      public AbstractImmutableSortedMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowMapTests;
    import java.util.Map;
    import java.util.SortedMap;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableRowMapTest extends RowMapTests {
      public UnmodifiableRowSortedTableRowMapTest() {
        super(false, false, false, false);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedMap. Can't be invoked directly; please see
     * {@code SortedMapTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/CollectionMapperTest.groovy

            expect:
            def map = mapper.createEmptyMap(sourceType)
            map.getClass() == mapType
    
            where:
            sourceType | mapType
            Map        | LinkedHashMap
            SortedMap  | TreeMap
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

    import java.util.List;
    import java.util.Random;
    import java.util.Set;
    import java.util.TreeSet;
    
    /**
     * Provides supporting data for performance notes in the documentation of {@link
     * Ordering#sortedCopy} and {@link Ordering#immutableSortedCopy}, as well as for automated code
     * suggestions.
     *
     */
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/DelegatingNamedDomainObjectSet.java

    import org.gradle.api.Namer;
    import org.gradle.api.Rule;
    import org.gradle.api.UnknownDomainObjectException;
    import org.gradle.api.specs.Spec;
    
    import java.util.List;
    import java.util.SortedMap;
    import java.util.SortedSet;
    
    /**
     * A {@Link NamedDomainObjectSet} which delegates all methods to a provided delegate.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

      private static <K, V> SortedMap<K, V> sortedNotNavigable(final SortedMap<K, V> map) {
        return new ForwardingSortedMap<K, V>() {
          @Override
          protected SortedMap<K, V> delegate() {
            return map;
          }
        };
      }
    
      public void testSortedMapTransformValues() {
        SortedMap<String, Integer> map = sortedNotNavigable(ImmutableSortedMap.of("a", 4, "b", 9));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

          SortedMap<K, V> sortedMap, @CheckForNull Object mutex) {
        return new SynchronizedSortedMap<>(sortedMap, mutex);
      }
    
      static class SynchronizedSortedMap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMap<K, V> implements SortedMap<K, V> {
    
        SynchronizedSortedMap(SortedMap<K, V> delegate, @CheckForNull Object mutex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

          SortedMap<K, V> sortedMap, @CheckForNull Object mutex) {
        return new SynchronizedSortedMap<>(sortedMap, mutex);
      }
    
      static class SynchronizedSortedMap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMap<K, V> implements SortedMap<K, V> {
    
        SynchronizedSortedMap(SortedMap<K, V> delegate, @CheckForNull Object mutex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
Back to top