- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 296 for compatible (0.12 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
.that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { // This is the only ordering for primitives that does not have a // corresponding Comparable wrapper in java.lang. for (int i = 0; i < VALUES.length; i++) { for (int j = 0; j < VALUES.length; j++) { byte x = VALUES[i]; byte y = VALUES[j];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
return new ElementOrder<>(Type.INSERTION, null); } /** * Returns an instance which specifies that the natural ordering of the elements is guaranteed. */ public static <S extends Comparable<? super S>> ElementOrder<S> natural() { return new ElementOrder<>(Type.SORTED, Ordering.<S>natural()); } /** * Returns an instance which specifies that the ordering of the elements is guaranteed to be
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
*/ @GwtCompatible @NullMarked public class ComparisonChainTest extends TestCase { private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe(); private static class DontCompareMe implements Comparable<DontCompareMe> { @Override public int compareTo(DontCompareMe o) { throw new AssertionFailedError(); } } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated methodRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
return new ElementOrder<>(Type.INSERTION, null); } /** * Returns an instance which specifies that the natural ordering of the elements is guaranteed. */ public static <S extends Comparable<? super S>> ElementOrder<S> natural() { return new ElementOrder<>(Type.SORTED, Ordering.<S>natural()); } /** * Returns an instance which specifies that the ordering of the elements is guaranteed to be
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ElementOrderTest.java
public String toString() { return "value=" + value; } } @SuppressWarnings("ComparableType") private static class ComparableSubClass extends NonComparableSuperClass implements Comparable<NonComparableSuperClass> { ComparableSubClass(Integer value) { super(value); } @Override public int compareTo(NonComparableSuperClass other) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.1K bytes - Viewed (0) -
.github/workflows/build.yml
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 12 04:49:37 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be * cast to a {@link java.util.SortedMap}. */ @SuppressWarnings("rawtypes") public static MultimapBuilderWithKeys<Comparable> treeKeys() { return treeKeys(Ordering.natural()); } /** * Uses a {@link TreeMap} sorted by the specified comparator to map keys to value collections. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
* * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one * permutation, instead of two. This is why the elements have to implement {@link Comparable}. * * <p>An empty iterable has only one permutation, which is an empty list. * * <p>This method is equivalent to {@code Collections2.orderedPermutations(list, * Ordering.natural())}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
SerializableTester.reserializeAndAssert(list); assertEquals(2, list.indexOf("b")); assertEquals(4, list.lastIndexOf("b")); } private static class IntegerDiv10 implements Comparable<IntegerDiv10> { final int value; IntegerDiv10(int value) { this.value = value; } @Override public int compareTo(IntegerDiv10 o) { return value / 10 - o.value / 10;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 19.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 20.9K bytes - Viewed (0)