- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 258 for Ordering (0.33 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
return insertionOrder; } /** * Compares strings in natural order except that null comes immediately before a given value. This * works better than Ordering.natural().nullsFirst() because, if null comes before all other * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that * exercise null handling fail on those subcollections. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
return buildOrThrow(); } private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) { if (valueComparator != null) { Collections.sort( entries, Ordering.from(valueComparator).onResultOf(Maps.<V>valueFunction())); } return fromEntryList(throwIfDuplicateKeys, entries); } public ImmutableMap<K, V> buildOrThrow() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) { throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec); } } restriction = new Restriction(lowerVersion, lowerBoundInclusive, upperVersion, upperBoundInclusive); } return restriction; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* invoke methods, they invoke methods on the {@code ForwardingNavigableMap}. * * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Map} * contract. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* invoke methods, they invoke methods on the {@code ForwardingNavigableMap}. * * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Map} * contract. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}. * * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion * order. Any removal invalidates any ordering guarantees. * * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}. * Generally speaking, this class reduces object allocation and memory consumption at the price of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Iterables; import com.google.common.collect.Multiset; import com.google.common.collect.Ordering; import com.google.common.primitives.Chars; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Iterables; import com.google.common.collect.Multiset; import com.google.common.collect.Ordering; import com.google.common.primitives.Chars; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0)