- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 371 for iterfile (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
private static class CountingIterable implements Iterable<String> { int count = 0; @Override public Iterator<String> iterator() { count++; return asList("a", "b", "a").iterator(); } } public void testCopyOf_plainIterable() { CountingIterable iterable = new CountingIterable(); Multiset<String> multiset = ImmutableSortedMultiset.copyOf(iterable);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 19.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
UNKNOWN_ORDER } @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays. AbstractIteratorTester( int steps, Iterable<E> elementsToInsertIterable, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, KnownOrder knownOrder, int startIndex) { // periodically we should manually try (steps * 3 / 2) here; all tests butCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 20.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override public SampleElements<String> sampleValues() { return new SampleElements<>("january", "february", "march", "april", "may"); } @Override public Collection<String> createCollection(Iterable<? extends String> values) { return Lists.newArrayList(values); } @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* accepts non-{@code Collection} iterables and empty iterables. */ public static <E extends Enum<E>> EnumSet<E> newEnumSet( Iterable<E> iterable, Class<E> elementType) { EnumSet<E> set = EnumSet.noneOf(elementType); Iterables.addAll(set, iterable); return set; } // HashSet /** * Creates a <i>mutable</i>, initially empty {@code HashSet} instance. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
return ((Multiset<E>) gen.create(duplicated)).elementSet(); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(new ArrayList<E>(new LinkedHashSet<E>(insertionOrder))); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* values} if it is a Set and therefore probably already deduplicated. */ int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { if (values instanceof Collection<?>) { Collection<?> collection = (Collection<?>) values; return max(defaultExpectedValues, collection.size()); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* * @param elements the {@code Iterable} to add to the {@code ImmutableList} * @return this {@code Builder} object * @throws NullPointerException if {@code elements} is null or contains a null element */ @CanIgnoreReturnValue @Override public Builder<E> addAll(Iterable<? extends E> elements) { super.addAll(elements); return this; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
/** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) { synchronized (annotationCache) { List<Annotation> annotations = annotationCache.get(classOrMethod);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
import org.jspecify.annotations.NullUnmarked; @NullUnmarked public final class SetsFilterSortedSetTest extends AbstractFilteredSortedSetTest<SortedSet<Integer>> { @Override SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) { TreeSet<Integer> result = Sets.newTreeSet(contents); // we have to make the result not Navigable return new ForwardingSortedSet<Integer>() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.5K bytes - Click Count (0) -
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 */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)