- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 536 for compareOp (0.05 seconds)
-
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will * not correctly obey its specification. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
lowerBound == null || upperBound == null || compare(lowerBound, upperBound) <= 0); } @Override public SortedSet<C> keySet() { return new Maps.SortedKeySet<>(this); } @Override public Comparator<? super C> comparator() { return columnComparator(); } int compare(Object a, Object b) { // pretend we can compare anything @SuppressWarnings("unchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
internal/auth/credentials_test.go
{cred, cred, true}, // Empty credentials to compare. {cred, Credentials{}, false}, // Empty credentials. {Credentials{}, cred, false}, // Two different credentialss {cred, cred2, false}, // Access key is different in credentials to compare. {cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false}, // Secret key is different in credentials to compare.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ReverseOrdering.java
ReverseOrdering(Ordering<? super T> forwardOrder) { this.forwardOrder = checkNotNull(forwardOrder); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return forwardOrder.compare(b, a); } @SuppressWarnings("unchecked") // how to explain? @Override public <S extends T> Ordering<S> reverse() { return (Ordering<S>) forwardOrder; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LexicographicalOrdering.java
} @Override public int compare(Iterable<T> leftIterable, Iterable<T> rightIterable) { Iterator<T> left = leftIterable.iterator(); Iterator<T> right = rightIterable.iterator(); while (left.hasNext()) { if (!right.hasNext()) { return LEFT_IS_GREATER; // because it's longer } int result = elementOrder.compare(left.next(), right.next()); if (result != 0) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LexicographicalOrdering.java
} @Override public int compare(Iterable<T> leftIterable, Iterable<T> rightIterable) { Iterator<T> left = leftIterable.iterator(); Iterator<T> right = rightIterable.iterator(); while (left.hasNext()) { if (!right.hasNext()) { return LEFT_IS_GREATER; // because it's longer } int result = elementOrder.compare(left.next(), right.next()); if (result != 0) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/s3select/sql/parser.go
} // ConditionRHS represents the right-hand-side of Compare, Between, In // or Like expressions. type ConditionRHS struct { Compare *Compare `parser:" @@"` Between *Between `parser:"| @@"` In *In `parser:"| \"IN\" @@"` Like *Like `parser:"| @@"` } // Compare represents the RHS of a comparison expression type Compare struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0)