- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,425 for equalTo (0.09 sec)
-
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
System.gc() // Unless cs references the String instance, it may now be garbage collected. assertThat(forJavaName(java.lang.String(cs.javaName) as String)) .isSameAs(cs) } @Test fun equals() { assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher")) assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA")) assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
return delegate().elementSet(); } @Override public Set<Entry<E>> entrySet() { return delegate().entrySet(); } @Override public boolean equals(@CheckForNull Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* predicate)} and use the copy. * * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at * {@link Predicate#apply}. Do not provide a predicate such as {@code * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
* interpreted as a normal bit, and all other bits are treated as usual. * * <p>If the argument is nonnegative, the returned result will be equal to {@code bits}, * otherwise, the result will be equal to {@code 2^64 + bits}. * * <p>To represent decimal constants less than {@code 2^63}, consider {@link #valueOf(long)} * instead. * * @since 14.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
* interpreted as a normal bit, and all other bits are treated as usual. * * <p>If the argument is nonnegative, the returned result will be equal to {@code bits}, * otherwise, the result will be equal to {@code 2^64 + bits}. * * <p>To represent decimal constants less than {@code 2^63}, consider {@link #valueOf(long)} * instead. * * @since 14.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
* {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of * instances. * * <p><b>Warning:</b> The comparators or comparables used must be <i>consistent with equals</i> as * explained by the {@link Comparable} class specification. Otherwise, the resulting multiset will * violate the general contract of {@link SetMultimap}, which is specified in terms of {@link * Object#equals}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimap.java
* Multimaps#synchronizedSetMultimap}. * * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code HashMultimap} in a * way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will result. * * @author Jared Levy * @since 2.0 */ @GwtCompatible(serializable = true, emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 10:02:49 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* contains objects that are supposed to be equal to each other. Objects of different groups are * expected to be unequal. For example: * * <pre>{@code * EquivalenceTester.of(someStringEquivalence) * .addEquivalenceGroup("hello", "h" + "ello") * .addEquivalenceGroup("world", "wor" + "ld") * .test(); * }</pre> * * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* contains objects that are supposed to be equal to each other. Objects of different groups are * expected to be unequal. For example: * * <pre>{@code * EquivalenceTester.of(someStringEquivalence) * .addEquivalenceGroup("hello", "h" + "ello") * .addEquivalenceGroup("world", "wor" + "ld") * .test(); * }</pre> * * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
import java.io.Serializable; import java.util.Comparator; import java.util.List; import junit.framework.TestCase; @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeTokenSubtypeTest extends TestCase { public void testOwnerTypeSubtypes() throws Exception { new OwnerTypeSubtypingTests().testAllDeclarations(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0)