- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 458 for Compare (0.2 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
} @Override public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) { return new Ordering<Entry<String, Integer>>() { @Override public int compare(Entry<String, Integer> left, Entry<String, Integer> right) { return left.getKey().compareTo(right.getKey()); } }.sortedCopy(insertionOrder); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
AtomicDouble.class); } @SuppressWarnings("unchecked") // functor classes have no type parameters public void testGet_functors() { assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123)); assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc")); assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
futures/failureaccess/pom.xml
</excludes> <compilerArgs> <!-- Make includes/excludes fully work: https://issues.apache.org/jira/browse/MCOMPILER-174 (Compare what guava-gwt has to do for maven-javadoc-plugin.) --> <arg>-sourcepath</arg> <arg>doesnotexist</arg> </compilerArgs> </configuration>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 19:27:26 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
} @Override public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) { return new Ordering<Entry<String, Integer>>() { @Override public int compare(Entry<String, Integer> left, Entry<String, Integer> right) { return left.getKey().compareTo(right.getKey()); } }.sortedCopy(insertionOrder); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
public void setClientMap(final Map<Pattern, CrawlerClient> clientMap) { factory.setClientMap(clientMap); } /** * Compares this wrapper to another object for equality. * Equality is determined by the wrapped factory. * @param obj The object to compare. * @return true if equal, false otherwise. */ @Override public boolean equals(final Object obj) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 5.2K bytes - Click Count (10) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
Guava's main yardstick for evaluating proposed features can be summed up as [utility times ubiquity](https://github.com/google/guava/wiki/PhilosophyExplained#utility-times-ubiquity). #### Utility: compare with alternatives There is always *some* alternative to adding a new feature to Guava, even if it's just forking Guava yourself.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
* Determines which method signature (represented by a class array) is more * specific. This defines a partial ordering on the method signatures. * * @param c1 first signature to compare * @param c2 second signature to compare * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if * c1 is less specific than c2, INCOMPARABLE if they are incomparable. */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
// concatenations of `alphabets`. // // The skipOffset (generally = 0) can be used to skip a given number // of bytes from the beginning of the infinite stream. This is useful // to compare such streams of bytes that may be split up, because: // // Given the function: // // f := func(r io.Reader) string { // b, _ := io.ReadAll(r) // return string(b) // } //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else { return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /** * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of * {@link #tailMap}. If you override {@link #tailMap}, you may wish to override {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} @CanIgnoreReturnValue private <T> T checkValid(T t) { // a ClassCastException is what's supposed to happen! @SuppressWarnings("unchecked") E e = (E) t; int unused = comparator().compare(e, e); return t; } @Override public boolean equals(@Nullable Object obj) { return delegate.equals(obj); } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0)