Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 163 for Comparable (0.06 sec)

  1. 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>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg maps, func All[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq2[$1, $2] #61900
    pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
    pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
    pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1) {
        return ofInternal(Ordering.natural(), e1);
      }
    
      @SuppressWarnings("unchecked")
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) {
        return ofInternal(Ordering.natural(), e1, e2);
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * applies first-in-first-out tie-breaking to comparable elements. To use it, you would insert a
     * {@code new FIFOEntry(anEntry)} instead of a plain entry object.
     *
     * <pre>
     * class FIFOEntry&lt;E extends Comparable&lt;? super E&gt;&gt;
     *     implements Comparable&lt;FIFOEntry&lt;E&gt;&gt; {
     *   final static AtomicLong seq = new AtomicLong();
     *   final long seqNum;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/hash/maphash/54670.md

    New function [Comparable] returns the hash of comparable value v.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 15:54:11 UTC 2024
    - 134 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RangeMap.java

      Range<K> span();
    
      /**
       * Maps a range to a specified value (optional operation).
       *
       * <p>Specifically, after a call to {@code put(range, value)}, if {@link
       * Range#contains(Comparable) range.contains(k)}, then {@link #get(Comparable) get(k)} will return
       * {@code value}.
       *
       * <p>If {@code range} {@linkplain Range#isEmpty() is empty}, then this is a no-op.
       */
      void put(Range<K> range, V value);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> {
      /**
       * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain
       * Range#contains contained} by the range.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top