- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,516 for equalTo (1.36 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
// Act MIEName parsed = new MIEName(buf); // Assert // equals should match case-insensitively for name and equal OID MIEName expected = new MIEName(testOid(), name); assertEquals(expected, parsed, "Parsed object should equal expected"); assertEquals(name, parsed.toString(), "toString should return the name");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
public static Equivalence<Object> identity() { return Identity.INSTANCE; } static final class Equals extends Equivalence<Object> implements Serializable { static final Equals INSTANCE = new Equals(); @Override protected boolean doEquivalent(Object a, Object b) { return a.equals(b); } @Override protected int doHash(Object o) { return o.hashCode(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
? uncheckedCastNullableTToT(result) : defaultValue; } @Override public boolean equals(@Nullable Object o) { if (o instanceof ForMapWithDefault) { ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o; return map.equals(that.map) && Objects.equals(defaultValue, that.defaultValue); } return false; } @Override public int hashCode() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
* Equality is determined by the wrapped factory. * @param obj The object to compare. * @return true if equal, false otherwise. */ @Override public boolean equals(final Object obj) { return factory.equals(obj); } /** * Returns a string representation of this wrapper. * @return A string representation. */ @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
* Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values. * Equality does not depend on the ordering of keys or values. */ @Override public boolean equals(@Nullable Object object) { return super.equals(object); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 4.9K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
} /** * Returns whether two strings are equal. If both are null, returns <code>true</code>. * * @param target1 * the first string * @param target2 * the second string * @return true if the strings are equal, false otherwise */ public static boolean equals(final String target1, final String target2) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* represent the same element and count. That is, two entries {@code a} and {@code b} are equal * if: * * {@snippet : * Objects.equals(a.getElement(), b.getElement()) * && a.getCount() == b.getCount() * } */ @Override // TODO(kevinb): check this wrt TreeMultiset? boolean equals(@Nullable Object o); /** * {@inheritDoc} *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* example, {@code [] < [1] < [1, 2] < [2]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}. * * @since 2.0 */ public static Comparator<int[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
* identical inputs: This sounds like it ought to be a problem here, since the goals of this class * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However, * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs * directly against {@code equals()} rather than through the {@code Equivalence}. */ private final Equivalence<? super T> equivalence;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0)