- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 171 for Comparator (0.23 sec)
-
android/guava-tests/test/com/google/common/collect/SetsTest.java
* constructed with the elements in the given iterable. Also verifies that the comparator is the * same as the given comparator. */ private static <E> void verifySortedSetContents( SortedSet<E> set, Iterable<E> iterable, @Nullable Comparator<E> comparator) { assertSame(comparator, set.comparator()); verifySetContents(set, iterable); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (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; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K 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) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
*/ package com.google.common.collect; import static com.google.common.collect.CollectPreconditions.checkEntryNotNull; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Comparator; import java.util.Map; import java.util.Map.Entry; import java.util.function.Function; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 7.1K bytes - Viewed (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 javax.lang.model.element.Modifier; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tester of subtyping relationships between two types. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (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())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.4K bytes - Viewed (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()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.EnumMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Spliterator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0)