Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for Comparable (0.18 sec)

  1. 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 {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  3. 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>
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. android/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(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. 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">mutually
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. 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(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. android/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;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. 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(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. 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(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/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">mutually
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
Back to top