- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 2,310 for Contains (0.14 seconds)
-
docs/en/docs/advanced/dataclasses.md
5. You can use other standard type annotations with dataclasses as the request body. In this case, it's a list of `Item` dataclasses. 6. Here we are returning a dictionary that contains `items` which is a list of dataclasses. FastAPI is still capable of <dfn title="converting the data to a format that can be transmitted">serializing</dfn> the data to JSON.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
} } ImmutableMapEntrySet() {} abstract ImmutableMap<K, V> map(); @Override public int size() { return map().size(); } @Override public boolean contains(@Nullable Object object) { if (object instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) object; V value = map().get(entry.getKey()); return value != null && value.equals(entry.getValue());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
return this; } @Override ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) { return this; } @Override public boolean contains(@Nullable Object object) { return false; } @GwtIncompatible // not used by GWT emulation @Override int indexOf(@Nullable Object target) { return -1; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} } /** constructor with empty array has size 0 and contains no elements */ public void testConstructorEmptyArray() { AtomicDoubleArray aa = new AtomicDoubleArray(new double[0]); assertEquals(0, aa.length()); assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0)); } /** constructor with length zero has size 0 and contains no elements */ public void testConstructorZeroLength() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
assertThat(isJava8()).isTrue(); } finally { System.setProperty("user.name", save); } } private static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); } private static boolean isWindows() { return OS_NAME.value().startsWith("Windows"); } private static boolean isJava8() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* TypeToken<List<String>>() {}.getGenericInterfaces()} will return a list that contains {@code * new TypeToken<Iterable<String>>() {}}; while {@code List.class.getGenericInterfaces()} will * return an array that contains {@code Iterable<T>}, where the {@code T} is the type variable * declared by interface {@code Iterable}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
} @Override public int size() { return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); } @Override public boolean contains(@Nullable Object obj) { return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj); } }; } @Override public Set<E> inEdges() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
* bimap. Otherwise, the specified map must contain at least one mapping, in order to determine * the key type. * * @param map the map whose mappings are to be placed in this map * @throws IllegalArgumentException if map is not an {@code EnumBiMap} or an {@code EnumHashBiMap} * instance and contains no mappings */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
Comparator<? super E> comparator = delegate.comparator(); if (comparator != null) { return comparator; } return NATURAL_ORDER; } @Override public boolean contains(Object object) { return delegate.contains(checkValid(object)); } @Override public boolean containsAll(Collection<?> c) { return delegate.containsAll(c); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
assertContains(cleanupHint) } } private fun StringWriter.assertContains(text: String) { Assertions.assertTrue(toString().contains(text)) { "Did not find expected error message in $this" } } protected data class Change(val type: String, val member: String) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0)