Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,228 for Equals (0.03 sec)

  1. guava/src/com/google/common/collect/Multimap.java

       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
       * depending on the implementation. For example, two {@link SetMultimap} instances with the same
       * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

            bitSum += function.bits();
          }
          return bitSum;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          if (object instanceof ConcatenatedHashFunction) {
            ConcatenatedHashFunction other = (ConcatenatedHashFunction) object;
            return Arrays.equals(functions, other.functions);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
        assertNull(function.apply("Two"));
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            }
    
            private String convertToJapaneseReading(String term) {
                // Simple simulation of Japanese reading conversion
                if ("東京".equals(term)) {
                    return "トウキョウ";
                } else if ("大阪".equals(term)) {
                    return "オオサカ";
                } else {
                    return term.toUpperCase();
                }
            }
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj)
                    return true;
                if (obj == null || getClass() != obj.getClass())
                    return false;
                CustomTestObject other = (CustomTestObject) obj;
                return value == other.value && (name != null ? name.equals(other.name) : other.name == null);
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.add(allTlsVersions)).isTrue()
        assertThat(set.add(allCipherSuites)).isTrue()
        allCipherSuites.hashCode()
        assertThat(allCipherSuites.equals(null)).isFalse()
        assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS))
          .isTrue()
        assertThat(set.remove(ConnectionSpec.CLEARTEXT)).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
       * may be expensive depending on the value type. Using this method on range maps with large values
       * such as {@link Collection} types is discouraged.
       *
       * @since 22.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          throws BucketOverflowException {
        int bucketSize = 0;
        for (; valueBucketHead != null; valueBucketHead = valueBucketHead.getNextInValueBucket()) {
          checkNoConflict(!value.equals(valueBucketHead.getValue()), "value", entry, valueBucketHead);
          if (++bucketSize > MAX_HASH_BUCKET_LENGTH) {
            throw new BucketOverflowException();
          }
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. cmd/api-headers.go

    		if v == "" && equals(k, xhttp.AmzObjectLockMode, xhttp.AmzObjectLockRetainUntilDate) {
    			continue
    		}
    
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return parent.retainAll(c);
            }
    
            public void clear() {
                parent.clear();
            }
    
            public boolean equals(final Object o) {
                return parent.equals(o);
            }
    
            public int hashCode() {
                return parent.hashCode();
            }
    
            public E get(final int index) {
                return parent.get(index);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top