Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for obj (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (null == obj || !getClass().equals(obj.getClass())) {
                    return false;
                }
                GavCacheKey that = (GavCacheKey) obj;
                return Objects.equals(this.gav, that.gav) && Objects.equals(this.tag, that.tag);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            // equal only to our TypeVariable implementation with identical bounds
            if (obj != null
                && Proxy.isProxyClass(obj.getClass())
                && Proxy.getInvocationHandler(obj) instanceof TypeVariableInvocationHandler) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /** Unboxes {@code obj}. Assumes that obj is not {@code null} or a {@link SetFuture}. */
      @ParametricNullness
      private V getDoneValue(Object obj) throws ExecutionException {
        // While this seems like it might be too branch-y, simple benchmarking proves it to be
        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
    
        @Override
        public int hashCode() {
          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
            FreshInvocationHandler that = (FreshInvocationHandler) obj;
            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

         * equivalence.
         */
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Wrapper) {
            Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
    
            if (this.equivalence.equals(that.equivalence)) {
              /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        public boolean contains(@CheckForNull Object obj) {
          if (obj instanceof Set) {
            Set<?> set = (Set<?>) obj;
            return inputSet.keySet().containsAll(set);
          }
          return false;
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
    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)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
    
        @Override
        public int hashCode() {
          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
            FreshInvocationHandler that = (FreshInvocationHandler) obj;
            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        int hashCode = 1;
        int n = size();
        for (int i = 0; i < n; i++) {
          hashCode = 31 * hashCode + get(i).hashCode();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
            // to generate a UID for the same object from multiple threads, but
            // that shouldn't be a problem.
            uid = counter.getAndIncrement();
            Integer alreadySet = uids.putIfAbsent(obj, uid);
            if (alreadySet != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top