- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 431 for Iterables (0.09 seconds)
-
android/guava/src/com/google/common/collect/SortedSetMultimap.java
* {@link Multimap} interface. * * <p>Any duplicates in {@code values} will be stored in the multimap once. */ @CanIgnoreReturnValue @Override SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values); /** * Returns a map view that associates each key with the corresponding values in the multimap. * Changes to the returned map, such as element removal, will update the underlying multimap. TheCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
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); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (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) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
public NavigableMap<K, V> create(Object... entries) { NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); return map.descendingMap(); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { insertionOrder = castOrCopyToList(delegate.order(insertionOrder)); reverse(insertionOrder); return insertionOrder; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
return new SampleElements<>(1, 4, 3, 2, 5); } @Override public Integer[] createArray(int length) { return new Integer[length]; } @Override public Iterable<Integer> order(List<Integer> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } @Override public Set<Integer> create(Object... elements) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
#### A Random Item { #a-random-item } With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item. We convert this iterable object into a proper `list` with `list(data.items())`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
.inOrder(); } public void testToMapWithNullKeys() { Iterable<@Nullable String> strings = asList("one", null, "three"); assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo"))); } public void testToMapWithNullValues() { Iterable<String> strings = ImmutableList.of("one", "two", "three");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
scripts/translate.py
import json import secrets import subprocess from collections.abc import Iterable from functools import lru_cache from os import sep as pathsep from pathlib import Path from typing import Annotated import git import typer import yaml from github import Github from pydantic_ai import Agent from rich import print non_translated_sections = ( f"reference{pathsep}", "release-notes.md", "fastapi-people.md",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (artifactLastModified > buildStartTime) { return true; } } for (Path outputFile : (Iterable<Path>) outputFiles::iterator) { if (Files.isDirectory(outputFile)) { continue; } long outputFileLastModified =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
cutsToTest.add(Cut.<Integer>belowAll()); CUTS_TO_TEST = ImmutableList.copyOf(cutsToTest); } private void testRangesByLowerBounds( TreeRangeSet<Integer> rangeSet, Iterable<Range<Integer>> expectedRanges) { NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByLowerBound = Maps.newTreeMap(); for (Range<Integer> range : expectedRanges) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 24.4K bytes - Click Count (0)