- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 173 for ImmutableSet (0.05 seconds)
-
android/guava/src/com/google/common/collect/ImmutableTable.java
} } } ImmutableTable() {} @Override public ImmutableSet<Cell<R, C, V>> cellSet() { return (ImmutableSet<Cell<R, C, V>>) super.cellSet(); } @Override abstract ImmutableSet<Cell<R, C, V>> createCellSet(); @Override final UnmodifiableIterator<Cell<R, C, V>> cellIterator() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
/** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
return key.toString(); } }; private CacheBuilderFactory factoryWithAllKeyStrengths() { return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); } private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR; @Override public ImmutableSet<Feature<? super Object>> getImpliedFeatures() { switch (this) { case IMPLIES_FOO: return ImmutableSet.of(FOO); case IMPLIES_IMPLIES_FOO: return ImmutableSet.of(IMPLIES_FOO); case IMPLIES_BAR: return ImmutableSet.of(BAR); case IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR:Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
"staticOneArgNullableThrowsNpe"); private static final ImmutableSet<String> STATIC_ONE_ARG_METHODS_SHOULD_FAIL = ImmutableSet.of("staticOneArgThrowsOtherThanNpe", "staticOneArgShouldThrowNpeButDoesnt"); private static final ImmutableSet<String> NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS = ImmutableSet.of( "oneArgCorrectlyThrowsNpe", "oneArgCheckForNullCorrectlyDoesNotThrowNpe",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
} @Override public @Nullable V get(@Nullable Object key) { return (key == null) ? null : Maps.safeGet(delegate, key); } @Override ImmutableSet<Entry<K, V>> createEntrySet() { return ImmutableSet.unsafeDelegate( new ForwardingSet<Entry<K, V>>() { @Override protected Set<Entry<K, V>> delegate() { return delegate.entrySet(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestByteSource.java
private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EdgesConnecting.java
* limitations under the License. */ package com.google.common.graph; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import com.google.common.collect.UnmodifiableIterator; import java.util.AbstractSet; import java.util.Map; import org.jspecify.annotations.Nullable; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
for (int i = 0; i < reps; i++) { dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 99), 100, dataset(i)).get(90); } return dummy; } @Benchmark double threePercentiles(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 95, 99), 100, dataset(i)).get(90); } return dummy; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0)