Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 152 for Comparable (0.05 seconds)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertFalse(isNumber.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_interface() {
        Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class);
    
        assertTrue(isComparable.apply(1));
        assertTrue(isComparable.apply(2.0f));
        assertTrue(isComparable.apply(""));
        assertFalse(isComparable.apply(null));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/primitives/UnsignedInteger.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger> {
      public static final UnsignedInteger ZERO = fromIntBits(0);
      public static final UnsignedInteger ONE = fromIntBits(1);
      public static final UnsignedInteger MAX_VALUE = fromIntBits(-1);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            Locale.class,
            Currency.class,
            List.class,
            Entry.class,
            Object.class,
            Equivalence.class,
            Predicate.class,
            Function.class,
            Comparable.class,
            Comparator.class,
            Ordering.class,
            Class.class,
            Type.class,
            TypeToken.class,
            TimeUnit.class,
            Ticker.class,
            Joiner.class,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

    @GwtCompatible
    final class GeneralRange<T extends @Nullable Object> implements Serializable {
      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/primitives/UnsignedLong.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @author Colin Evans
     * @since 11.0
     */
    @GwtCompatible
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong> {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        SerializableTester.reserializeAndAssert(list);
        assertEquals(2, list.indexOf("b"));
        assertEquals(4, list.lastIndexOf("b"));
      }
    
      private static class IntegerDiv10 implements Comparable<IntegerDiv10> {
        final int value;
    
        IntegerDiv10(int value) {
          this.value = value;
        }
    
        @Override
        public int compareTo(IntegerDiv10 o) {
          return value / 10 - o.value / 10;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. cmd/erasure-metadata-utils.go

    	"errors"
    	"hash/crc32"
    
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    // counterMap type adds GetValueWithQuorum method to a map[T]int used to count occurrences of values of type T.
    type counterMap[T comparable] map[T]int
    
    // GetValueWithQuorum returns the first key which occurs >= quorum number of times.
    func (c counterMap[T]) GetValueWithQuorum(quorum int) (T, bool) {
    	var zero T
    	for x, count := range c {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. api/go1.4.txt

    pkg os, func Unsetenv(string) error
    pkg syscall, func Unsetenv(string) error
    
    # CL 144020043 reflect: add Type.Comparable, Russ Cox <******@****.***>
    pkg reflect, type Type interface, Comparable() bool
    
    # CL 153670043 runtime: add PauseEnd array to MemStats and GCStats, Jens Frederich <******@****.***>
    pkg runtime, type MemStats struct, PauseEnd [256]uint64
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  9. docs/es/docs/async.md

    Pero toda esta funcionalidad de usar código asíncrono con `async` y `await` a menudo se resume como utilizar "coroutines". Es comparable a la funcionalidad clave principal de Go, las "Goroutines".
    
    ## Conclusión { #conclusion }
    
    Veamos la misma frase de arriba:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       */
      @SuppressWarnings({
        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <E extends Comparable> TreeSet<E> newTreeSet() {
        return new TreeSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeSet} instance containing the given elements sorted by their
       * natural ordering.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
Back to Top