- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 173 for ImmutableSet (0.45 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import com.google.common.testing.NullPointerTester; import com.google.common.testing.TestLogHandler;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < parameterTypes.length; i++) { params[i] = PARAMETER_VALUES.get(parameterTypes[i]); } return params; } private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS = ImmutableSet.of("latestPermitAgeSec", "setRate", "getAvailablePermits"); // We would use ArbitraryInstances, but it returns 0, invalid for many RateLimiter methods.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < parameterTypes.length; i++) { params[i] = PARAMETER_VALUES.get(parameterTypes[i]); } return params; } private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS = ImmutableSet.of("latestPermitAgeSec", "setRate", "getAvailablePermits"); // We would use ArbitraryInstances, but it returns 0, invalid for many RateLimiter methods.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
public void testCreate() { LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); } public void testCreateFromMultimap() { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); multimap.put("a", 1); multimap.put("b", 2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} @Override public ImmutableSet<Range<C>> asRanges() { if (ranges.isEmpty()) { return ImmutableSet.of(); } return new RegularImmutableSortedSet<>(ranges, rangeLexOrdering()); } @Override public ImmutableSet<Range<C>> asDescendingSetOfRanges() { if (ranges.isEmpty()) { return ImmutableSet.of(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
public void testLast_iterable() { Set<String> set = ImmutableSet.of("a", "b", "c"); assertThat(FluentIterable.from(set).last()).hasValue("c"); } public void testLast_emptyIterable() { Set<String> set = new HashSet<>(); assertThat(FluentIterable.from(set).last()).isAbsent(); } public void testSkip_simple() { Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e"); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Collection<String> set = ImmutableSet.of("a", "b"); assertEquals(emptyList(), newArrayList(skip(set, 20))); } public void testSkip_pastEndList() { Collection<String> list = newArrayList("a", "b"); assertEquals(emptyList(), newArrayList(skip(list, 20))); } public void testSkip_skipNone() { Collection<String> set = ImmutableSet.of("a", "b");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
/** * {@code entrySet()} implementation for {@link ImmutableMap}. * * @author Jesse Wilson * @author Kevin Bourrillion */ @GwtCompatible abstract class ImmutableMapEntrySet<K, V> extends ImmutableSet<Entry<K, V>> { static final class RegularEntrySet<K, V> extends ImmutableMapEntrySet<K, V> { private final transient ImmutableMap<K, V> map; private final transient ImmutableList<Entry<K, V>> entries;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
import static java.util.Collections.unmodifiableSet; import com.google.common.annotations.Beta; import com.google.common.base.Predicate; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.common.math.IntMath; import java.util.AbstractSet; import java.util.Iterator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 10K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
* * @param predicateType The first parameter to the method (boolean or Object) */ private static ImmutableList<ImmutableList<Class<?>>> allSignatures(Class<?> predicateType) { ImmutableSet.Builder<ImmutableList<Class<?>>> allOverloads = ImmutableSet.builder(); // The first two are for the overloads that don't take formatting args, e.g. // checkArgument(boolean) and checkArgument(boolean, Object)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0)