- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 302 for Ordering (0.06 sec)
-
android/guava/src/com/google/common/collect/ReverseOrdering.java
import org.checkerframework.checker.nullness.qual.Nullable; /** An ordering that uses the reverse of a given order. */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Ordering<? super T> forwardOrder; ReverseOrdering(Ordering<? super T> forwardOrder) { this.forwardOrder = checkNotNull(forwardOrder);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 3.2K bytes - Viewed (0) -
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) -
guava/src/com/google/common/collect/TreeMultimap.java
* according to the key comparator ordering or the natural ordering of the keys. Similarly, {@code * get}, {@code removeAll}, and {@code replaceValues} return collections that iterate through the * values according to the value comparator ordering or the natural ordering of the values. The * collections generated by {@code entries}, {@code keys}, and {@code values} iterate across the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* {@link PriorityQueue} and supplies blocking retrieval operations. While this queue is logically * unbounded, attempted additions may fail due to resource exhaustion (causing {@code * OutOfMemoryError}). This class does not permit {@code null} elements. A priority queue relying on * {@linkplain Comparable natural ordering} also does not permit insertion of non-comparable objects
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
return copyOfInternal((Ordering<E>) Ordering.natural(), (Collection<E>) elements, false); } // Unsafe, see ImmutableSortedSetFauxverideShim. @SuppressWarnings("unchecked") public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) { return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable<E>) elements, false); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/AllEqualOrdering.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AllEqualOrdering.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
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)