- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for exactly (0.03 sec)
-
guava/src/com/google/common/collect/SingletonImmutableList.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import java.util.Spliterator; /** * Implementation of {@link ImmutableList} with exactly one element. * * @author Hayward Chan */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableList<E> extends ImmutableList<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
for (int i = 1; i < 900; i += 2) { if (!falsePositives.contains(i)) { assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i))); } } // Check that there are exactly 29824 false positives for this BF. int knownNumberOfFalsePositives = 29824; int numFpp = 0; for (int i = 1; i < numInsertions * 2; i += 2) { if (bf.mightContain(Integer.toString(i))) { numFpp++;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
return construct(array); } /** * Returns an immutable list containing the given elements, in order. If {@code elements} is a * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it * behaves exactly as {@code copyOf(elements.iterator()}. * * @throws NullPointerException if {@code elements} contains a null element */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* suitable for your application, see <a * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>. * * @return {@code true} if this domain name appears exactly on the public suffix list * @since 6.0 */ public boolean isPublicSuffix() { return publicSuffixIndex() == 0; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableSet} with exactly one element. * * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
checkNotNull(throwable); if (declaredType.isInstance(throwable)) { throw declaredType.cast(throwable); } } /** * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@code * declaredType}. Example usage: * * <pre> * try { * someMethodThatCouldThrowAnything(); * } catch (IKnowWhatToDoWithThisException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableBiMap.java
import com.google.j2objc.annotations.RetainedWith; import java.util.function.BiConsumer; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableMap} with exactly one entry. * * @author Jesse Wilson * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
for (int i = 1; i < 900; i += 2) { if (!falsePositives.contains(i)) { assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i))); } } // Check that there are exactly 29824 false positives for this BF. int knownNumberOfFalsePositives = 29824; int numFpp = 0; for (int i = 1; i < numInsertions * 2; i += 2) { if (bf.mightContain(Integer.toString(i))) { numFpp++;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* * <p>If {@code expectedSize} is exactly the number of distinct elements added to the builder * before {@link Builder#build} is called, the builder is likely to perform better than an unsized * {@link #builder()} would have. * * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to, * but not exactly, the number of distinct elements added to the builder. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* {@code array}, or {@code -1} if there is no such occurrence. * * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array, * i, i + target.length)} contains exactly the same elements as {@code target}. * * @param array the array to search for the sequence {@code target} * @param target the array to search for as a sub-sequence of {@code array} */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0)