- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 453 for Iterables (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return mapGenerator.create(elements).entrySet(); } @Override public Entry<K, V>[] createArray(int length) { return mapGenerator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return mapGenerator.order(insertionOrder); } @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/PredecessorsFunction.java
* * <p>Some algorithms that operate on a {@code PredecessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractRangeSet.java
} @Override public boolean enclosesAll(Iterable<Range<C>> ranges) { for (Range<C> range : ranges) { if (!encloses(range)) { return false; } } return true; } @Override public void addAll(RangeSet<C> other) { addAll(other.asRanges()); } @Override public void addAll(Iterable<Range<C>> ranges) { for (Range<C> range : ranges) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator; public ThrowsAtEndIterator(Iterable<E> iterable) { this.iterator = iterable.iterator(); } @Override public boolean hasNext() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 15K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
android/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) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
CountingIterable iterable = new CountingIterable(); List<String> list = ImmutableList.copyOf(iterable); assertEquals(asList("a", "b", "a"), list); } public void testCopyOf_plainIterable_iteratesOnce() { CountingIterable iterable = new CountingIterable(); ImmutableList<String> unused = ImmutableList.copyOf(iterable); assertEquals(1, iterable.count); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0)