/libcore/luni/src/main/java/java/lang/ |
Iterable.java | 27 public interface Iterable<T> {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
DerivedTestIteratorGenerator.java | 22 * Adapts a test iterable generator to give a TestIteratorGenerator. 30 private final TestSubjectGenerator<? extends Iterable<E>> 34 TestSubjectGenerator<? extends Iterable<E>> collectionGenerator) { 38 public TestSubjectGenerator<? extends Iterable<E>> getCollectionGenerator() {
|
IteratorTester.java | 72 Iterable<? extends IteratorFeature> features, 73 Iterable<E> expectedElements, KnownOrder knownOrder) { 79 protected final Iterable<Stimulus<E, Iterator<E>>> getStimulusValues() {
|
ListIteratorTester.java | 42 protected ListIteratorTester(int steps, Iterable<E> elementsToInsert, 43 Iterable<? extends IteratorFeature> features, 44 Iterable<E> expectedElements, int startIndex) { 50 protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>>
|
DerivedIteratorTestSuiteBuilder.java | 24 * Given a test iterable generator, builds a test suite for the 25 * iterable's iterator, by delegating to a {@link IteratorTestSuiteBuilder}. 32 TestSubjectGenerator<? extends Iterable<E>>> {
|
TestContainerGenerator.java | 65 Iterable<E> order(List<E> insertionOrder);
|
/external/guava/guava/src/com/google/common/collect/ |
Iterables.java | 48 * of type {@code Iterable}. Except as noted, each method has a corresponding 63 /** Returns an unmodifiable view of {@code iterable}. */ 64 public static <T> Iterable<T> unmodifiableIterable( 65 final Iterable<T> iterable) { 66 checkNotNull(iterable); 67 if (iterable instanceof UnmodifiableIterable || 68 iterable instanceof ImmutableCollection) { 69 return iterable; 71 return new UnmodifiableIterable<T>(iterable); 86 private final Iterable<T> iterable; field in class:Iterables.UnmodifiableIterable [all...] |
SortedIterable.java | 23 * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically 29 interface SortedIterable<T> extends Iterable<T> { 31 * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code
|
LexicographicalOrdering.java | 32 extends Ordering<Iterable<T>> implements Serializable { 40 Iterable<T> leftIterable, Iterable<T> rightIterable) {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 45 * of type {@code Iterable}. Except as noted, each method has a corresponding 60 /** Returns an unmodifiable view of {@code iterable}. */ 61 public static <T> Iterable<T> unmodifiableIterable( 62 final Iterable<T> iterable) { 63 checkNotNull(iterable); 64 if (iterable instanceof UnmodifiableIterable || 65 iterable instanceof ImmutableCollection) { 66 return iterable; 68 return new UnmodifiableIterable<T>(iterable); 83 private final Iterable<T> iterable; field in class:Iterables.UnmodifiableIterable [all...] |
/external/junit/src/org/junit/internal/matchers/ |
IsCollectionContaining.java | 14 public class IsCollectionContaining<T> extends TypeSafeMatcher<Iterable<T>> { 22 public boolean matchesSafely(Iterable<T> collection) { 38 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) { 43 public static <T> Matcher<Iterable<T>> hasItem(T element) { 48 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { 49 Collection<Matcher<? extends Iterable<T>>> all 50 = new ArrayList<Matcher<? extends Iterable<T>>>(elementMatchers.length); 58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { 59 Collection<Matcher<? extends Iterable<T>>> all 60 = new ArrayList<Matcher<? extends Iterable<T>>>(elements.length) [all...] |
Each.java | 10 public static <T> Matcher<Iterable<T>> each(final Matcher<T> individual) { 11 final Matcher<Iterable<T>> allItemsAre = not(hasItem(not(individual))); 13 return new BaseMatcher<Iterable<T>>() {
|
/external/hamcrest/src/org/hamcrest/core/ |
AllOf.java | 16 private final Iterable<Matcher<? extends T>> matchers; 18 public AllOf(Iterable<Matcher<? extends T>> matchers) { 47 public static <T> Matcher<T> allOf(Iterable<Matcher<? extends T>> matchers) {
|
AnyOf.java | 17 private final Iterable<Matcher<? extends T>> matchers; 19 public AnyOf(Iterable<Matcher<? extends T>> matchers) { 48 public static <T> Matcher<T> anyOf(Iterable<Matcher<? extends T>> matchers) {
|
/frameworks/base/core/java/com/android/internal/util/ |
Predicates.java | 43 * defensively copy the iterable passed in, so future changes to it will alter 47 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) { 64 * defensively copy the iterable passed in, so future changes to it will alter 68 public static <T> Predicate<T> or(Iterable<? extends Predicate<? super T>> components) { 81 private final Iterable<? extends Predicate<? super T>> components; 83 private AndPredicate(Iterable<? extends Predicate<? super T>> components) { 98 private final Iterable<? extends Predicate<? super T>> components; 100 private OrPredicate(Iterable<? extends Predicate<? super T>> components) {
|
/external/hamcrest/src/org/hamcrest/ |
Description.java | 36 Iterable<T> values);
43 Iterable<? extends SelfDescribing> values);
|
/external/junit/src/org/junit/rules/ |
RunRules.java | 12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) { 21 private static Statement applyAll(Statement result, Iterable<TestRule> rules,
|
/external/guava/guava-tests/test/com/google/common/base/ |
SplitterTest.java | 53 Iterable<String> letters = COMMA_SPLITTER.split(simple); 59 Iterable<String> letters = Splitter.on('.').split(simple); 65 Iterable<String> letters = COMMA_SPLITTER.split(doubled); 71 Iterable<String> letters = COMMA_SPLITTER.split(doubled); 77 Iterable<String> letters = COMMA_SPLITTER.split(trailing); 83 Iterable<String> letters = COMMA_SPLITTER.split(leading); 88 Iterable<String> testCharacteringMotto = Splitter.on('-').split( 95 Iterable<String> testCharacteringMotto = Splitter 104 Iterable<String> letters = Splitter.on('.') 111 Iterable<String> letters = Splitter.on('.').trimResults( [all...] |
/external/guava/guava/src/com/google/common/base/ |
PairwiseEquivalence.java | 27 final class PairwiseEquivalence<T> extends Equivalence<Iterable<T>> 37 protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) { 51 protected int doHash(Iterable<T> iterable) { 53 for (T element : iterable) {
|
/external/junit/src/org/junit/matchers/ |
JUnitMatchers.java | 18 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) { 26 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? extends T> elementMatcher) { 34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { 44 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? extends T>... elementMatchers) { 52 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
IterablesTest.java | 63 Iterable<String> iterable = Collections.emptySet(); local 64 assertEquals(0, Iterables.size(iterable)); 68 Iterable<String> iterable = Collections.singleton("a"); local 69 assertEquals(1, Iterables.size(iterable)); 73 Iterable<Integer> iterable = new Iterable<Integer>() { local 79 assertEquals(2, Iterables.size(iterable)); 94 private static Iterable<String> iterable(String... elements) { method in class:IterablesTest [all...] |
/external/mockito/src/org/mockito/internal/util/ |
Checks.java | 20 public static <T extends Iterable> T checkItemsNotNull(T iterable, String checkedIterable) { 21 checkNotNull(iterable, checkedIterable); 22 for (Object item : iterable) { 25 return iterable;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
FsDirectory.java | 31 public interface FsDirectory extends Iterable<FsDirectoryEntry>, FsObject {
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashTestUtils.java | 86 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 94 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 102 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 110 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 118 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 126 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 134 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 142 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 150 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { 159 @Override void performAction(Random random, Iterable<? extends Sink> sinks) [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 103 static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES; 105 static final Iterable<Integer> NONZERO_INTEGER_CANDIDATES; 107 static final Iterable<Integer> ALL_INTEGER_CANDIDATES; 140 static final Iterable<Long> NEGATIVE_LONG_CANDIDATES; 142 static final Iterable<Long> NONZERO_LONG_CANDIDATES; 144 static final Iterable<Long> ALL_LONG_CANDIDATES; 173 static final Iterable<BigInteger> NEGATIVE_BIGINTEGER_CANDIDATES; 175 static final Iterable<BigInteger> NONZERO_BIGINTEGER_CANDIDATES; 177 static final Iterable<BigInteger> ALL_BIGINTEGER_CANDIDATES; 205 static final Iterable<Double> FINITE_DOUBLE_CANDIDATES [all...] |