- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,248 for equals (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
} private MinimalSet(Class<? super @NonNull E> type, E... contents) { super(type, true, contents); } /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
} private MinimalSet(Class<? super @NonNull E> type, E... contents) { super(type, true, contents); } /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java
* @return true if this is a URLSET, false otherwise */ public boolean isUrlSet() { return URLSET.equals(type); } /** * Checks if this sitemap set is of type INDEX. * @return true if this is an INDEX, false otherwise */ public boolean isIndex() { return INDEX.equals(type); } /** * Returns a string representation of this object.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
key.encode(buffer, 2); for (int i = 0; i < 16; i++) { assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
* interface. It does not permit null keys or values. * * <p><b>Note:</b> by default, the returned map uses equality comparisons (the {@link Object#equals * equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
public Spliterator<Long> spliterator() { return parent.spliterator(); } @Override public boolean equals(@Nullable Object object) { if (object instanceof AsList) { AsList that = (AsList) object; return this.parent.equals(that.parent); } // We could delegate to super now but it would still box too much if (!(object instanceof List)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
monitor.leave(); } } /** * Removes a single instance of the specified element from this queue, if it is present. More * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains * one or more such elements. Returns {@code true} if this queue contained the specified element * (or equivalently, if this queue changed as a result of the call). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
@Override public Spliterator<Integer> spliterator() { return parent.spliterator(); } @Override public boolean equals(@Nullable Object object) { if (object instanceof AsList) { AsList that = (AsList) object; return this.parent.equals(that.parent); } // We could delegate to super now but it would still box too much if (!(object instanceof List)) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0)