Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for Comparable (0.18 sec)

  1. 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);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
      public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue() {
        return new PriorityBlockingQueue<>();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      static <R extends Comparable, C extends Comparable, V>
          RowSortedTable<R, C, V> generateRowSortedTable(R row, C column, V value) {
        return generateTreeBasedTable(row, column, value);
      }
    
      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
      static <R extends Comparable, C extends Comparable, V>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      static <R extends Comparable, C extends Comparable, V>
          RowSortedTable<R, C, V> generateRowSortedTable(R row, C column, V value) {
        return generateTreeBasedTable(row, column, value);
      }
    
      @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
      @Generates
      static <R extends Comparable, C extends Comparable, V>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeMap.java

     * @since 14.0
     */
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public class ImmutableRangeMap<K extends Comparable<?>, V> implements RangeMap<K, V>, Serializable {
    
      private static final ImmutableRangeMap<Comparable<?>, Object> EMPTY =
          new ImmutableRangeMap<>(ImmutableList.<Range<Comparable<?>>>of(), ImmutableList.of());
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      protected abstract <E extends Comparable<? super E>> Set<E> of();
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3, E e4);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      protected abstract <E extends Comparable<? super E>> Set<E> of();
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3, E e4);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. 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);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       * a {@link NullPointerException} when passed a null parameter.
       *
       * <p>The type specification is {@code <C extends Comparable>}, instead of the technically correct
       * {@code <C extends Comparable<? super C>>}, to support legacy types from before Java 5.
       *
       * <p><b>Java 8+ users:</b> use {@link Comparator#naturalOrder} instead.
       */
      @GwtCompatible(serializable = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K 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 }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top