- Sort Score
- Result 10 results
- Languages All
Results 1671 - 1680 of 3,687 for isobject (0.24 sec)
-
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
@J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
@Override public SampleElements<AnEnum> samples() { return new Enums(); } @Override public Multiset<AnEnum> create(Object... elements) { AnEnum[] array = new AnEnum[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (AnEnum) e; } return create(array); } protected abstract Multiset<AnEnum> create(AnEnum[] elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/MoreObjectsTest.java
@J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
*/ @Override public final boolean equals(@CheckForNull Object object) { if (object instanceof HashCode) { HashCode that = (HashCode) object; return bits() == that.bits() && equalsSameBits(that); } return false; } /** * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
// required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory = object : DelegatingServerSocketFactory(ServerSocketFactory.getDefault()) { @Throws(IOException::class) override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
multiset.add("a"); assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a")); assertTrue(multiset.contains("a")); } private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { final Map<E, Integer> backingMap = Maps.newHashMap(); @Override public int size() { return Multisets.linearTimeSizeImpl(this); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* value may be legitimately {@code null}.) */ @SuppressWarnings("nullness") @ParametricNullness static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) { return t; } /** * Returns {@code null} cast to any type. * * <p>This method is intended to help with usages of type parameters that have {@linkplain
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 10 20:36:34 UTC 2022 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
this.delegateMap = delegateMap; this.entries = entries; } @Override public int size() { return entries.size(); } @Override @CheckForNull public V get(@CheckForNull Object key) { return delegateMap.get(key); } @Override ImmutableSet<Entry<K, V>> createEntrySet() { return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0)