- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 254 for incomparable (0.07 sec)
-
android/guava/src/com/google/common/collect/Cut.java
} @Override Comparable<?> leastValueAbove(DiscreteDomain<Comparable<?>> domain) { return domain.minValue(); } @Override Comparable<?> greatestValueBelow(DiscreteDomain<Comparable<?>> domain) { throw new AssertionError(); } @Override Cut<Comparable<?>> canonical(DiscreteDomain<Comparable<?>> domain) { try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param object the object to cast * @return object cast to type * @throws PACDecodingException if types are incompatible */ public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException { if (!type.isInstance(object)) { throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass()); } return type.cast(object); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
return ((Comparable<Object>) right).compareTo(left); } @Override public <S extends Comparable<?>> Ordering<S> reverse() { return Ordering.natural(); } // Override the min/max methods to "hoist" delegation outside loops @Override public <E extends Comparable<?>> E min(E a, E b) { return NaturalOrdering.INSTANCE.max(a, b); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3K bytes - Viewed (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); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
} } /** * Compares two comparable objects as specified by {@link Comparable#compareTo}, <i>if</i> the * result of this comparison chain has not already been determined. * * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutuallyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
// Test failed casting Object obj = 123; // Integer assertThrows(PACDecodingException.class, () -> { ASN1Util.as(String.class, obj); }, "Should throw PACDecodingException for incompatible types"); } // --- as(Class, Enumeration) --- @Test void testAs_Enumeration_Success() throws PACDecodingException { // Test successful casting from enumerationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
@Immutable(containerOf = "C") public final class Range<C extends Comparable> implements Predicate<C>, Serializable { @SuppressWarnings("unchecked") static <C extends Comparable<?>> Ordering<Range<C>> rangeLexOrdering() { return (Ordering<Range<C>>) RangeLexOrdering.INSTANCE; } static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
* * @author Louis Wasserman * @since 14.0 */ @GwtIncompatible // NavigableMap public class ImmutableRangeMap<K extends Comparable<?>, V> implements RangeMap<K, V>, Serializable { private static final ImmutableRangeMap<Comparable<?>, Object> EMPTY = new ImmutableRangeMap<>(ImmutableList.of(), ImmutableList.of()); /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 14.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
HashMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) { return HashMultimap.create(contents); } }, LinkedHashMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0)