Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 287 for Ordering$ (0.12 sec)

  1. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Ordering;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.TreeMap;
    import org.junit.Before;
    import org.junit.Test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(ImmutableSortedSet.class);
      }
    
      public void testEmpty_comparator() {
        SortedSet<String> set = of();
        assertSame(Ordering.natural(), set.comparator());
      }
    
      public void testEmpty_headSet() {
        SortedSet<String> set = of();
        assertSame(set, set.headSet("c"));
      }
    
      public void testEmpty_tailSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.Comparator;
    import java.util.LinkedHashSet;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.Comparator;
    import java.util.LinkedHashSet;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

    public final class Range<C extends Comparable> extends RangeGwtSerializationDependencies
        implements Predicate<C>, Serializable {
      @SuppressWarnings("unchecked")
      static <C extends Comparable<?>> Ordering<Range<C>> rangeLexOrdering() {
        return (Ordering<Range<C>>) RangeLexOrdering.INSTANCE;
      }
    
      static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) {
        return new Range<>(lowerBound, upperBound);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.testing.Helpers.NullsBeforeTwo;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.testing.Helpers.NullsBeforeTwo;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Queues.java

        return queue;
      }
    
      // LinkedList: see {@link com.google.common.collect.Lists}
    
      // PriorityBlockingQueue
    
      /**
       * Creates an empty {@code PriorityBlockingQueue} with the ordering given by its elements' natural
       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.SerializableTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
        assertLessThan(NEW, TERMINATED);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top