Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,764 for _Equal (0.14 sec)

  1. android/guava/src/com/google/common/base/Objects.java

      private Objects() {}
    
      /**
       * Determines whether two possibly-null objects are equal. Returns:
       *
       * <ul>
       *   <li>{@code true} if {@code a} and {@code b} are both null.
       *   <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to
       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Objects.java

      private Objects() {}
    
      /**
       * Determines whether two possibly-null objects are equal. Returns:
       *
       * <ul>
       *   <li>{@code true} if {@code a} and {@code b} are both null.
       *   <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to
       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

        {!> ../../../docs_src/path_params_numeric_validations/tutorial003_an.py!}
        ```
    
    ## Number validations: greater than or equal
    
    With `Query` and `Path` (and others you'll see later) you can declare number constraints.
    
    Here, with `ge=1`, `item_id` will need to be an integer number "`g`reater than or `e`qual" to `1`.
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 01:40:05 UTC 2023
    - 901 bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Function.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code Objects.equal(function.apply(a),
       *       function.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this function does not accept null
       *     arguments
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicate.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
        try {
          equalsTester.addEqualityGroup(reference, (Object[]) null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top