- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for Comparable (0.07 sec)
-
guava/src/com/google/common/collect/ImmutableSortedMap.java
* * @throws UnsupportedOperationException always * @deprecated <b>Pass keys of type {@code Comparable} to use {@link * ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object, * Comparable, Object, Comparable, Object)}.</b> */ @DoNotCall("Pass keys of type Comparable") @Deprecated public static <K, V> ImmutableSortedMap<K, V> of(
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 50.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
} // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard( MultimapBuilderWithKeys<Comparable> treeKeys) { return (MultimapBuilderWithKeys) treeKeys; }
Registered: 2024-11-01 12:43 - Last Modified: 2024-07-02 18:21 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
@ElementTypesAreNonnullByDefault public final class Range<C extends Comparable> extends RangeGwtSerializationDependencies 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: 2024-11-01 12:43 - Last Modified: 2024-10-16 17:21 - 27.8K bytes - Viewed (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(
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-17 15:16 - 11.2K 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); } @Override
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 13.7K bytes - Viewed (0) -
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: 2024-11-01 12:43 - Last Modified: 2024-10-16 17:21 - 12.2K bytes - Viewed (0) -
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: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 12.4K 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: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
final class ReverseNaturalOrdering extends Ordering<Comparable<?>> implements Serializable { static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); @Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // right null is caught later if (left == right) { return 0; } return ((Comparable<Object>) right).compareTo(left); } @Override
Registered: 2024-11-01 12:43 - Last Modified: 2021-06-20 14:22 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this * dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable, Comparable, Comparable, Comparable, Comparable, * Comparable, Comparable...)}. </b> */
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 36.9K bytes - Viewed (0)