- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for incomparable (0.07 seconds)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
@GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() { Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class); assertTrue(isComparable.apply(1)); assertTrue(isComparable.apply(2.0f)); assertTrue(isComparable.apply("")); assertFalse(isComparable.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_equality() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
@Override protected <E extends Comparable<? super E>> SortedSet<E> of() { return ImmutableSortedSet.of(); } @Override protected <E extends Comparable<? super E>> SortedSet<E> of(E e) { return ImmutableSortedSet.of(e); } @Override protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2) { return ImmutableSortedSet.of(e1, e2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
@Override protected <E extends Comparable<? super E>> SortedSet<E> of() { return ImmutableSortedSet.of(); } @Override protected <E extends Comparable<? super E>> SortedSet<E> of(E e) { return ImmutableSortedSet.of(e); } @Override protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2) { return ImmutableSortedSet.of(e1, e2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() { return new Builder<Comparable<E>>(Ordering.natural()).create(); } /** * Creates a new min-max priority queue using natural order, no maximum size, and initially * containing the given elements. */ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava/src/com/google/common/collect/NaturalOrdering.java
@Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 01:34:19 GMT 2026 - 3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() { return new Builder<Comparable<E>>(Ordering.natural()).create(); } /** * Creates a new min-max priority queue using natural order, no maximum size, and initially * containing the given elements. */ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
@Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 01:34:19 GMT 2026 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals( "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2)); // Check the Catcher<Comparable<?>>... assertEquals("Two Comparable<?>s should be delivered.", 2, compEvents.size()); assertEquals("String fixture must be first comparable delivered.", EVENT, compEvents.get(0)); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals( "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2)); // Check the Catcher<Comparable<?>>... assertEquals("Two Comparable<?>s should be delivered.", 2, compEvents.size()); assertEquals("String fixture must be first comparable delivered.", EVENT, compEvents.get(0)); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return suite; } @Override protected <E extends Comparable<? super E>> Set<E> of() { return ImmutableSet.of(); } @Override protected <E extends Comparable<? super E>> Set<E> of(E e) { return ImmutableSet.of(e); } @Override protected <E extends Comparable<? super E>> Set<E> of(E e1, E e2) { return ImmutableSet.of(e1, e2); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.1K bytes - Click Count (0)