- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 2,832 for contains (0.05 seconds)
-
guava/src/com/google/common/collect/RegularImmutableSet.java
this.elements = elements; this.hashCode = hashCode; this.table = table; this.mask = mask; } @Override public boolean contains(@Nullable Object target) { @Nullable Object[] table = this.table; if (target == null || table.length == 0) { return false; } for (int i = smearedHash(target); ; i++) { i &= mask;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.8K 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) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SmbException; /** * Unit tests exercising {@link SmbComSessionSetupAndX}. The class under test * contains several protected helper methods and a complex constructor * that branches on credential type. These tests use reflection to call * protected methods and Mockito to stub collaborators. */ @ExtendWith(MockitoExtension.class)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
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) -
guava/src/com/google/common/collect/CompactHashSet.java
setHashTableMask(newMask); return newMask; } @Override public boolean contains(@Nullable Object object) { if (needsAllocArrays()) { return false; } Set<E> delegate = delegateOrNull(); if (delegate != null) { return delegate.contains(object); } int hash = smearedHash(object); int mask = hashTableMask();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K 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) -
guava-gwt/pom.xml
<fileset dir="${project.build.directory}/guava-sources"> <contains text="@GwtCompatible"/> </fileset> </copy> <!-- The following don't contain @GwtCompatible for dependency reasons. --> <copy toDir="${project.build.directory}/guava-gwt-sources">Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 12 15:19:17 GMT 2026 - 18.2K bytes - Click Count (0)