- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 502 for iterable (0.44 sec)
-
guava/src/com/google/common/cache/AbstractCache.java
* implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The * method {@link #cleanUp} is a no-op. All other methods throw an {@link * UnsupportedOperationException}. * * @author Charles Fry * @since 10.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* is {@code explicitTestNames}. */ @VisibleForTesting List<Class<?>> findClassesToTest( Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) { // "a.b.Foo" -> a.b.Foo.class TreeMap<String, Class<?>> classMap = Maps.newTreeMap(); for (Class<?> cls : classes) { classMap.put(cls.getName(), cls);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
fastapi/datastructures.py
from typing import ( Any, BinaryIO, Callable, Dict, Iterable, Optional, Type, TypeVar, cast, ) from fastapi._compat import ( PYDANTIC_V2, CoreSchema, GetJsonSchemaHandler, JsonSchemaValue, with_info_plain_validator_function, ) from starlette.datastructures import URL as URL # noqa: F401 from starlette.datastructures import Address as Address # noqa: F401
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* is null. The builder is left in an invalid state. */ @CanIgnoreReturnValue public Builder<K, V> putAll(K key, Iterable<? extends V> values) { if (key == null) { throw new NullPointerException("null key in entry: null=" + Iterables.toString(values)); } Iterator<? extends V> valuesItr = values.iterator(); if (!valuesItr.hasNext()) { return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
* * @param elements the elements that the multiset should contain */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create( Iterable<? extends E> elements) { LinkedHashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements)); Iterables.addAll(multiset, elements); return multiset; } LinkedHashMultiset(int distinctElements) { super(distinctElements); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
import java.util.Collection; public final class Collections2FilterArrayListTest extends AbstractFilteredCollectionTest<Collection<Integer>> { @Override Collection<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
import java.util.Collection; public final class Collections2FilterArrayListTest extends AbstractFilteredCollectionTest<Collection<Integer>> { @Override Collection<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java
import java.util.Set; public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> { @Override Set<Integer> createUnfiltered(Iterable<Integer> contents) { return newHashSet(contents); } @Override Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
} public void testSize() { assertEquals(1, testTable.size()); } public void testValues() { assertThat(testTable.values()).contains("blah"); } @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { return ImmutableSet.of(testTable); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompoundOrdering.java
this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary}; } @SuppressWarnings("unchecked") // Generic array creation CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { this.comparators = Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]); } @Override public int compare(@ParametricNullness T left, @ParametricNullness T right) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.4K bytes - Viewed (0)