- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 199 for Comparators (0.06 seconds)
-
guava-tests/test/com/google/common/reflect/SubtypeTester.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.Arrays; import java.util.Comparator; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tester of subtyping relationships between two types. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* created multimaps. * * @since 2.0 */ @DoNotMock public static class Builder<K, V> { @Nullable Map<K, ImmutableCollection.Builder<V>> builderMap; @Nullable Comparator<? super K> keyComparator; @Nullable Comparator<? super V> valueComparator; int expectedValuesPerKey = ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY; /**
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) -
android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java
SortedIterables.hasSameComparator( Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse()))); } public void testComparator() { assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet())); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.Arrays; import java.util.Comparator; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tester of subtyping relationships between two types. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java
public class SortedSetMultimapGetTester<K, V> extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> { public void testValueComparator() { assertEquals(multimap().valueComparator(), multimap().get(k0()).comparator()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
} @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { checkNotNull(fromElement); checkNotNull(toElement); checkArgument(comparator().compare(fromElement, toElement) <= 0); return subSetImpl(fromElement, true, toElement, false); } /** * @since 12.0 */ @GwtIncompatible // NavigableSet @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
* array as the lesser. For example, {@code [] < ['a'] < ['a', 'b'] < ['b']}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(char[], * char[])}. * * @since 2.0 */ public static Comparator<char[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(short[], * short[])}. * * @since 2.0 */ public static Comparator<short[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Shorts.java
* * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(short[], * short[])}. * * @since 2.0 */ public static Comparator<short[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
* under the License. */ package org.apache.maven.lifecycle.internal; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.stream.Collectors; import org.apache.maven.execution.MavenSession;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 8.5K bytes - Click Count (0)