Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 491 for hashCodes (0.09 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2);
            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
            assertEquals(c1.hashCode(), c2.hashCode(), "expected same hashcode for " + v1 + " and " + v2);
            assertEquals(c1, c2, "expected " + v1 + ".equals( " + v2 + " )");
            assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. okhttp/api/jvm/okhttp.api

    	public final fun certificatePinner ()Lokhttp3/CertificatePinner;
    	public final fun connectionSpecs ()Ljava/util/List;
    	public final fun dns ()Lokhttp3/Dns;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun protocols ()Ljava/util/List;
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> tentativeArgs = new ArrayList<>(args);
        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            ChannelInfo that = (ChannelInfo) obj;
            return channelId != null ? channelId.equals(that.channelId) : that.channelId == null;
        }
    
        @Override
        public int hashCode() {
            return channelId != null ? channelId.hashCode() : 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            // This will return the hashCode of the query as string
            assertEquals(Integer.toString("test query".hashCode()), result);
        }
    
        public void test_processGsaSearchPreference_queryPref() {
            String result = queryHelper.processGsaSearchPreference(null, "test query");
            // This will return the hashCode of the query as string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
        for (int i = 0; i < reps; ++i) {
          try {
            tmp += getChecked(validator, future, exceptionType).hashCode();
          } catch (Exception e) {
            tmp += e.hashCode();
          }
        }
        return tmp;
      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

          }
        };
      }
    
      /** An implementation for {@link Set#hashCode()}. */
      static int hashCodeImpl(Set<?> s) {
        int hashCode = 0;
        for (Object o : s) {
          hashCode += o != null ? o.hashCode() : 0;
    
          hashCode = ~~hashCode;
          // Needed to deal with unusual integer overflow in GWT.
        }
        return hashCode;
      }
    
      /** An implementation for {@link Set#equals(Object)}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

             *
             * @return the identifier
             */
            @Override
            public String id() {
                return id;
            }
    
            @Override
            public int hashCode() {
                return id().hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
                return obj != null && getClass() == obj.getClass() && id().equals(((DefaultExtensibleEnum) obj).id());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top