Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 313 for incomparable (0.06 seconds)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

          clear();
          return Iterables.addAll(this, Iterables.skip(collection, size - maxSize));
        }
        return standardAddAll(collection);
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    @NullUnmarked
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(modifier = Modifier.PUBLIC)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        public String toString() {
          return "value=" + value;
        }
      }
    
      @SuppressWarnings("ComparableType")
      private static class ComparableSubClass extends NonComparableSuperClass
          implements Comparable<NonComparableSuperClass> {
    
        ComparableSubClass(Integer value) {
          super(value);
        }
    
        @Override
        public int compareTo(NonComparableSuperClass other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     *   over {@code 1.0.0.X1}.</li>
     * </ul>
     *
     * @see <a href="https://maven.apache.org/pom.html#version-order-specification">"Versioning" in the POM reference</a>
     */
    public class ComparableVersion implements Comparable<ComparableVersion> {
        private static final int MAX_INTITEM_LENGTH = 9;
    
        private static final int MAX_LONGITEM_LENGTH = 18;
    
        private String value;
    
        private String canonical;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return insertionOrder;
        }
      }
    
      public static class ImmutableSortedSetExplicitSuperclassComparatorGenerator
          extends TestStringSetGenerator {
    
        private static final Comparator<Comparable<?>> COMPARABLE_REVERSED = Collections.reverseOrder();
    
        @Override
        protected SortedSet<String> create(String[] elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/BndBuildAction.kt

      private fun isZip(file: File): Boolean =
        try {
          ZipFile(file).close()
          true
        } catch (e: Exception) {
          false
        }
    
      companion object {
        /**
         * BND is incompatible with Kotlin/Multiplatform because it assumes the JVM source set's name is
         * 'main'. Work around this by creating a 'main' source set that forwards to 'jvmMain'.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          (o1, o2) -> ((Comparable<Object>) o1).compareTo(o2);
    
      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/body-updates.md

    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(Comparable.class, ByToString.INSTANCE)
              .put(Comparator.class, AlwaysEqual.INSTANCE)
              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-updates.md

    * Convertir el modelo copiado en algo que pueda almacenarse en tu DB (por ejemplo, usando el `jsonable_encoder`).
        * Esto es comparable a usar el método `.model_dump()` del modelo de nuevo, pero asegura (y convierte) los valores a tipos de datos que pueden convertirse a JSON, por ejemplo, `datetime` a `str`.
    * Guardar los datos en tu DB.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top