- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 367 for compareTo (0.06 seconds)
-
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
.isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) { // Only compare the sign of the result of compare(). int expected = Byte.compare(x, y); int actual = SignedBytes.compare(x, y); if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
docs/pt/docs/benchmarks.md
* Se você quer fazer comparações com o Uvicorn, compare com Daphne, Hypercorn, uWSGI, etc. Servidores de Aplicação. * **Starlette**:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ByFunctionOrdering.java
this.function = checkNotNull(function); this.ordering = checkNotNull(ordering); } @Override public int compare(@ParametricNullness F left, @ParametricNullness F right) { return ordering.compare(function.apply(left), function.apply(right)); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparatorOrdering.java
final Comparator<T> comparator; ComparatorOrdering(Comparator<T> comparator) { this.comparator = checkNotNull(comparator); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return comparator.compare(a, b); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
analysis.sort((a, b) -> Long.compare(b.potentialSavings, a.potentialSavings)); return analysis; } private List<ValueFrequency> getMostFrequentValues(Map<String, StringStats> stats, int limit) { return stats.entrySet().stream() .map(e -> new ValueFrequency(e.getKey(), e.getValue().getOccurrences())) .sorted((a, b) -> Long.compare(b.frequency, a.frequency))Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/es/docs/benchmarks.md
* Si estás comparando Uvicorn, compáralo con Daphne, Hypercorn, uWSGI, etc. Servidores de aplicaciones. * **Starlette**:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
*/ if (hasLowerBound) { int unused = comparator.compare( uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint)); } if (hasUpperBound) { int unused = comparator.compare( uncheckedCastNullableTToT(upperEndpoint), uncheckedCastNullableTToT(upperEndpoint)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
return false } for (a in this) { for (b in other) { if (comparator.compare(a, b) == 0) { return true } } } return false } internal fun Array<String>.indexOf( value: String, comparator: Comparator<String>, ): Int = indexOfFirst { comparator.compare(it, value) == 0 } @Suppress("UNCHECKED_CAST")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ByFunctionOrdering.java
this.function = checkNotNull(function); this.ordering = checkNotNull(ordering); } @Override public int compare(@ParametricNullness F left, @ParametricNullness F right) { return ordering.compare(function.apply(left), function.apply(right)); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> { /** * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code * Collector} will be compared to the expected value using {@link Object#equals}. */ public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0)