- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 376 for Iterables (0.35 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
} @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> getMap().putAll(null)); } private void putAll(Iterable<Entry<K, V>> entries) { Map<K, V> map = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { map.put(entry.getKey(), entry.getValue()); } getMap().putAll(map); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) { * return isSubtype(list); * } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* wish to override {@link #addAll(int, Collection)} to forward to this implementation. * * @since 7.0 */ protected boolean standardAddAll(int index, Iterable<? extends E> elements) { return Lists.addAllImpl(this, index, elements); } /** * A sensible default implementation of {@link #indexOf}, in terms of {@link #listIterator()}. If
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
* * <p>The edge is a self-loop if, and only if, the two endpoints are equal. * * @author James Sexton * @since 20.0 */ @Beta @Immutable(containerOf = {"N"}) public abstract class EndpointPair<N> implements Iterable<N> { private final N nodeU; private final N nodeV; private EndpointPair(N nodeU, N nodeV) { this.nodeU = checkNotNull(nodeU); this.nodeV = checkNotNull(nodeV); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
private static final Joiner JOINER_ON_CHARACTER = Joiner.on(DELIMITER_CHARACTER); @Param({"3", "30", "300"}) int count; @Param({"0", "1", "16", "32", "100"}) int componentLength; private Iterable<String> components; @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { String component = Strings.repeat("a", componentLength);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * <h4>Combining</h4> * * To derive a {@code ClosingFuture} from two or more input steps, pass the input steps to {@link * #whenAllComplete(Iterable)} or {@link #whenAllSucceed(Iterable)} or its overloads. * * <h3>Cancelling</h3> * * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
private static final DenseImmutableTable<Character, Integer, String> DENSE = new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE); @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE); } public void testCellSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 6.3K bytes - Viewed (0)