- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,228 for Equals (0.05 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.asList(EMPTY).equals(ImmutableList.of())).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE))).isTrue(); @SuppressWarnings("EqualsIncompatibleType") boolean listEqualsArray = Booleans.asList(ARRAY_FALSE).equals(ARRAY_FALSE); assertThat(listEqualsArray).isFalse(); assertThat(Booleans.asList(ARRAY_FALSE).equals(null)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3(); } } expectContents(expected); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
return result; } } return 0; } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof CompoundOrdering) { CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Present.java
"the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); } return false; } @Override public int hashCode() { return 0x598df91c + reference.hashCode(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
} @Override public abstract boolean encloses(Range<C> otherRange); @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } else if (obj instanceof RangeSet) { RangeSet<?> other = (RangeSet<?>) obj; return this.asRanges().equals(other.asRanges()); } return false; } @Override public final int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
for (Field field : fields) { int modifiers = field.getModifiers(); if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) { if (field.getType().equals(HtmlNext.class)) { Object value = field.get(null); assertNotNull("Field " + field.getName() + " should not be null", value);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
*/ public SID(final String textual) throws SmbException { final StringTokenizer st = new StringTokenizer(textual, "-"); if (st.countTokens() < 3 || !st.nextToken().equals("S")) { // need S-N-M throw new SmbException("Bad textual SID format: " + textual); } this.revision = Byte.parseByte(st.nextToken());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
* @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override public boolean isSupported(ASN1ObjectIdentifier mechanism) { return KRB5_MECH_OID.equals(mechanism) || KRB5_MS_MECH_OID.equals(mechanism); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
android/guava/src/com/google/common/eventbus/Subscriber.java
} @Override public final boolean equals(@Nullable Object obj) { if (obj instanceof Subscriber) { Subscriber that = (Subscriber) obj; // Use == so that different equal instances will still receive events. // We only guard against the case that the same object is registered // multiple times return target == that.target && method.equals(that.method); } return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0)