Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 287 for Ordering$ (0.05 sec)

  1. guava/src/com/google/common/collect/ListMultimap.java

       * this method returns a {@link List}, instead of the {@link java.util.Collection} specified in
       * the {@link Multimap} interface.
       */
      @Override
      List<V> get(@ParametricNullness K key);
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

      return 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
        return copyOf(naturalOrder, elements);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      @WeakOuter
      class Heap {
        final Ordering<E> ordering;
    
        @SuppressWarnings("nullness:initialization.field.uninitialized")
        @Weak
        Heap otherHeap; // always initialized immediately after construction
    
        Heap(Ordering<E> ordering) {
          this.ordering = ordering;
        }
    
        int compareElements(int a, int b) {
          return ordering.compare(elementData(a), elementData(b));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListToArrayTester<E> extends AbstractListTester<E> {
      // CollectionToArrayTester tests everything except ordering.
    
      public void testToArray_noArg() {
        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AllEqualOrdering.java

      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.allEqual()";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AllEqualOrdering.java

      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.allEqual()";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      // TODO: b/296487962 - Consider defining a total order over constructors.
      private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST =
          Ordering.natural()
              .onResultOf((List<Class<?>> params) -> params.contains(String.class))
              .compound(
                  Ordering.natural()
                      .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class)))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top