- Sort Score
- Result 10 results
- Languages All
Results 2301 - 2310 of 4,260 for object (0.04 sec)
-
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
return sub; } /** * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not * hold. */ final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> { // Modification Operations /** * {@inheritDoc} * * @throws IllegalArgumentException if the given value is already bound to a different key in this
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * Tests for {@link Multimap#remove(Object, Object)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
@Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public class CollectionIteratorTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { public void testIterator() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator() iteratorElements.add(element); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return Arrays.copyOf(empty, length); } /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */ static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { T[] result = newArray(arrayOfType, to - from); System.arraycopy(source, from, result, 0, to - from); return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/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.5K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
So, if we create a Pydantic object `user_in` like: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` and then we call: ```Python user_dict = user_in.dict() ``` we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object). And if we call: ```Python print(user_dict) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
assertEquals("null", Strings.lenientFormat("%s", (Object) null)); } @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs public void testLenientFormat_nullArrayVarargs() { assertEquals("(Object[])null", Strings.lenientFormat("%s", (Object[]) null)); } @GwtIncompatible // GWT reflection includes less data
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
For example, this model above declares a JSON "`object`" (or Python `dict`) like: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...as `description` and `tax` are optional (with a default value of `None`), this JSON "`object`" would also be valid: ```JSON { "name": "Foo", "price": 45.2 }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
latch.countDown() } }, ) latch.await() // There's some flakiness when triggering a GC for objects in a separate thread. Adding a // small delay appears to ensure the objects will get GC'd. Thread.sleep(200) awaitGarbageCollection() val message = testLogHandler.take() assertThat(message).contains(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)