- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 655 for Same (0.01 sec)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different"); // Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode()); // Different inputs should have different hash code assertNotSame(item1.hashCode(), item3.hashCode()); // Same inputs but different output should have different hash code
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
} } /** * Returns a hash code, having the same bit length as each of the input hash codes, that combines * the information of these hash codes in an ordered fashion. That is, whenever two equal hash * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each * was computed from the <i>same</i> input hash codes in the <i>same</i> order. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
* even in the same order. (It is guaranteed to return true for instances constructed from the * same values in the same order if {@code strictfp} is in effect, or if the system architecture * guarantees {@code strictfp}-like semantics.) */ @Override public boolean equals(@Nullable Object obj) { if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* * <p><b>Warning:</b> instances of type {@code Multimap} may not implement {@link Object#equals} in * the way you expect. Multimaps containing the same key-value pairs, even in the same order, may or * may not be equal and may or may not have the same {@code hashCode}. The recommended subinterfaces * provide much stronger guarantees. * * <h3>Comparison to a map of collections</h3> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
} // Test providePrimaryInvertibleCryptographer public void test_providePrimaryInvertibleCryptographer() { // Test that the method returns the same instance InvertibleCryptographer first = securityResourceProvider.providePrimaryInvertibleCryptographer(); InvertibleCryptographer second = securityResourceProvider.providePrimaryInvertibleCryptographer();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. * * @throws IllegalArgumentException if two keys have the same value or two values have the same * key * @throws NullPointerException if any key or value in {@code map} is null */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
/** * Add a header with the specified name and value. Does validation of header names and values. */ fun add( name: String, value: String, ) = commonAdd(name, value) /** * Add a header with the specified name and value. Does validation of header names, allowing * non-ASCII values. */ fun addUnsafeNonAscii( name: String, value: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// enclosed with same start assertEquals(range, range.span(Range.closed(4, 6))); // enclosed, interior assertEquals(range, range.span(Range.closed(5, 7))); // enclosed with same end assertEquals(range, range.span(Range.closed(6, 8))); // equal assertEquals(range, range.span(range)); // enclosing with same start
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
StopwordsItem item2 = new StopwordsItem(1, "test"); StopwordsItem item3 = new StopwordsItem(2, "test"); StopwordsItem item4 = new StopwordsItem(1, "different"); // Same input should have same hashCode regardless of id assertEquals(item1.hashCode(), item2.hashCode()); assertEquals(item1.hashCode(), item3.hashCode()); // Different input should have different hashCode
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
return new IllegalArgumentException( "Multiple entries with same key: " + key + "=" + value1 + " and " + key + "=" + value2); } } } /** * Returns an immutable map containing the same entries as {@code map}. The returned map iterates * over entries in the same order as the {@code entrySet} of the original map. If {@code map}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0)