- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 224 for comparators (0.18 sec)
-
guava/src/com/google/common/collect/SetMultimap.java
* signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values. * * <p>If the values corresponding to a single key should be ordered according to a {@link * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface. * * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
values = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(values, navigableSet.comparator()); // some tests assume SEVERAL == 3 if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} }; } // collect @Generates <T> Comparator<T> generateComparator() { return generateOrdering(); } @Generates <T extends @Nullable Object> Ordering<T> generateOrdering() { return new Ordering<T>() { @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(T left, T right) { return 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
import com.google.common.testing.SerializableTester; import java.io.Serializable; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
RowSortedTable<R, ? extends C, ? extends V> table) { /* * It's not ? extends R, because it's technically not covariant in R. Specifically, * table.rowMap().comparator() could return a comparator that only works for the ? extends R. * Collections.unmodifiableSortedMap makes the same distinction. */ return new UnmodifiableRowSortedMap<>(table); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.time.Duration; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Locale; import java.util.concurrent.CountDownLatch; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import junit.framework.TestCase;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 27.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
import org.apache.maven.project.collector.PomlessCollectionStrategy; import org.apache.maven.project.collector.RequestPomCollectionStrategy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Comparator.comparing; /** * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor. */ @Named(GraphBuilder.HINT) @Singleton
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
return "Cluster" } func (o clusterOrigin) String() string { return "" } func (o clusterOrigin) FriendlyName() string { return "Cluster" } func (o clusterOrigin) Comparator() string { return o.FriendlyName() } func (o clusterOrigin) Namespace() resource.Namespace { return "" } func (o clusterOrigin) Reference() resource.Reference { return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
} } /** * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose * comparator is not <i>consistent with equals</i>), the results of this method are undefined. * * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
} return new StandardImplForwardingNavigableMap<>(map); } }) .named( "ForwardingNavigableMap[SafeTreeMap] with no comparator and standard " + "implementations") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, MapFeature.ALLOWS_NULL_VALUES,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 9.5K bytes - Viewed (0)