Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    type any = interface{}
    
    // comparable is an interface that is implemented by all comparable types
    // (booleans, numbers, strings, pointers, channels, arrays of comparable types,
    // structs whose fields are all comparable types).
    // The comparable interface may only be used as a type parameter constraint,
    // not as the type of a variable.
    type comparable interface{ comparable }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top