Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for Comparable (0.18 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/docker.md

    A container image is comparable to the **program** file and contents, e.g. `python` and some file `main.py`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertMapEquals(copy, "two", 2, "three", 3, "one", 1);
        assertSame(copy, ImmutableSortedMap.copyOfSorted(copy));
        assertSame(comparator, copy.comparator());
      }
    
      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;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. 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:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. 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:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. 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>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/concepts.md

    An interesting detail is that the percentage of the **CPU used** by each process can **vary** a lot over time, but the **memory (RAM)** normally stays more or less **stable**.
    
    If you have an API that does a comparable amount of computations every time and you have a lot of clients, then the **CPU utilization** will probably *also be stable* (instead of constantly going up and down quickly).
    
    ### Examples of Replication Tools and Strategies
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code TreeSet}
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      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.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. internal/grid/handlers.go

    }
    
    // RoundTripper provides an interface for type roundtrip serialization.
    type RoundTripper interface {
    	msgp.Unmarshaler
    	msgp.Marshaler
    	msgp.Sizer
    
    	comparable
    }
    
    // SingleHandler is a type safe handler for single roundtrip requests.
    type SingleHandler[Req, Resp RoundTripper] struct {
    	id            HandlerID
    	sharedResp    bool
    	callReuseReq  bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    Pydantic is a library to define data validation, serialization and documentation (using JSON Schema) based on Python type hints.
    
    That makes it extremely intuitive.
    
    It is comparable to Marshmallow. Although it's faster than Marshmallow in benchmarks. And as it is based on the same Python type hints, the editor support is great.
    
    !!! check "**FastAPI** uses it to"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top