Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,258 for Equalf (0.06 sec)

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

       * equals()} contract.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link
       * java.util.Objects#equals} instead.
       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <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>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Objects.java

       * equals()} contract.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link
       * java.util.Objects#equals} instead.
       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingMapEntry.java

        return delegate().setValue(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <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>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top