Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 163 for Comparable (0.12 sec)

  1. guava/src/com/google/common/collect/GeneralRange.java

    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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    But all this functionality of using asynchronous code with `async` and `await` is many times summarized as using "coroutines". It is comparable to the main key feature of Go, the "Goroutines".
    
    ## Conclusion
    
    Let's see the same phrase from above:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. 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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    	</li>
    
    	<li>
    	Struct values are comparable if all their fields are comparable.
    	Two struct values are equal if their corresponding
    	non-<a href="#Blank_identifier">blank</a> fields are equal.
    	</li>
    
    	<li>
    	Array values are comparable if values of the array element type are comparable.
    	Two array values are equal if their corresponding elements are equal.
    	</li>
    </ul>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. 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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  8. docs/es/docs/async.md

    Pero toda esta funcionalidad de usar código asincrónico con `async` y `await` se resume muchas veces como usar "coroutines". Es comparable a la característica principal de Go, las "Goroutines".
    
    ## Conclusión
    
    Veamos la misma frase de arriba:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 19 18:15:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
Back to top