Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 308 for orderings (0.05 seconds)

  1. android/guava/src/com/google/common/base/Equivalence.java

       * iterables are equivalent to one another.
       *
       * <p>Note that this method performs a similar function for equivalences as {@link
       * com.google.common.collect.Ordering#lexicographical} does for orderings.
       *
       * <p>The returned object is serializable if this object is serializable.
       *
       * @since 10.0
       */
      public final <S extends @Nullable T> Equivalence<Iterable<S>> pairwise() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

          return putAll(key, asList(values));
        }
    
        /**
         * Stores another multimap's entries in the built multimap. The generated multimap's key and
         * value orderings correspond to the iteration ordering of the {@code multimap.asMap()} view,
         * with new keys and values following any existing keys and values.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          return putAll(key, asList(values));
        }
    
        /**
         * Stores another multimap's entries in the built multimap. The generated multimap's key and
         * value orderings correspond to the iteration ordering of the {@code multimap.asMap()} view,
         * with new keys and values following any existing keys and values.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        testComparator(arbitrary, list);
      }
    
      public void testUsingToString() {
        Ordering<Object> ordering = Ordering.usingToString();
        testComparator(ordering, 1, 12, 124, 2);
        assertEquals("Ordering.usingToString()", ordering.toString());
        assertSame(ordering, reserialize(ordering));
      }
    
      // use an enum to get easy serializability
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/OrderingTest.java

        testComparator(arbitrary, list);
      }
    
      public void testUsingToString() {
        Ordering<Object> ordering = Ordering.usingToString();
        testComparator(ordering, 1, 12, 124, 2);
        assertEquals("Ordering.usingToString()", ordering.toString());
        assertSame(ordering, reserialize(ordering));
      }
    
      // use an enum to get easy serializability
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Ordering;
    import java.util.Comparator;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for ordering the elements of graphs. */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public final class ElementOrderTest {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

      if (cipherSuitesAsString != null) {
        // 3 options here for ordering
        // 1) Legacy Platform - based on the Platform/Provider existing ordering in
        // sslSocket.enabledCipherSuites
        // 2) OkHttp Client - based on MODERN_TLS source code ordering
        // 3) Caller specified but assuming the visible defaults in MODERN_CIPHER_SUITES are rejigged
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ByFunctionOrdering.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible
    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
        extends Ordering<F> implements Serializable {
      final Function<F, ? extends T> function;
      final Ordering<T> ordering;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          implements TestSetGenerator<UnhashableObject> {}
    
      private static Ordering<String> createExplicitComparator(String[] elements) {
        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = new LinkedHashSet<>();
        elementsPlus.add(BEFORE_FIRST);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java

     */
    public class PhaseComparator implements Comparator<String> {
        /**
         * The lifecycle phase ordering.
         */
        private final List<String> lifecyclePhases;
    
        /**
         * Constructor.
         *
         * @param lifecyclePhases the lifecycle phase ordering.
         */
        public PhaseComparator(List<String> lifecyclePhases) {
            this.lifecyclePhases = lifecyclePhases;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top