Home
last modified time | relevance | path

Searched defs:iterable (Results 1 – 25 of 176) sorted by relevance

12345678

/external/guava/guava/src/com/google/common/collect/
DIterables.java65 final Iterable<T> iterable) { in unmodifiableIterable()
81 ImmutableCollection<E> iterable) { in unmodifiableIterable()
86 private final Iterable<T> iterable; field in Iterables.UnmodifiableIterable
88 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
107 public static int size(Iterable<?> iterable) { in size()
117 public static boolean contains(Iterable<?> iterable, @Nullable Object element) { in contains()
277 public static String toString(Iterable<?> iterable) { in toString()
288 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement()
301 Iterable<? extends T> iterable, @Nullable T defaultValue) { in getOnlyElement()
314 public static <T> T[] toArray(Iterable<? extends T> iterable, Class<T> type) { in toArray()
[all …]
DFluentIterable.java76 private final Iterable<E> iterable; field in FluentIterable
83 FluentIterable(Iterable<E> iterable) { in FluentIterable()
91 public static <E> FluentIterable<E> from(final Iterable<E> iterable) { in from()
DAllEqualOrdering.java41 public <E> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy()
46 public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { in immutableSortedCopy()
DOrdering.java481 public <E extends T> E min(Iterable<E> iterable) { in min()
557 public <E extends T> E max(Iterable<E> iterable) { in max()
614 public <E extends T> List<E> leastOf(Iterable<E> iterable, int k) { in leastOf()
772 public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) { in greatestOf()
856 public boolean isOrdered(Iterable<? extends T> iterable) { in isOrdered()
877 public boolean isStrictlyOrdered(Iterable<? extends T> iterable) { in isStrictlyOrdered()
DReverseNaturalOrdering.java60 @Override public <E extends Comparable> E min(Iterable<E> iterable) { in min()
76 @Override public <E extends Comparable> E max(Iterable<E> iterable) { in max()
DReverseOrdering.java60 @Override public <E extends T> E min(Iterable<E> iterable) { in min()
76 @Override public <E extends T> E max(Iterable<E> iterable) { in max()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java63 final Iterable<T> iterable) { in unmodifiableIterable()
79 ImmutableCollection<E> iterable) { in unmodifiableIterable()
84 private final Iterable<T> iterable; field in Iterables.UnmodifiableIterable
86 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable()
105 public static int size(Iterable<?> iterable) { in size()
115 public static boolean contains(Iterable<?> iterable, @Nullable Object element) { in contains()
275 public static String toString(Iterable<?> iterable) { in toString()
286 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement()
299 Iterable<? extends T> iterable, @Nullable T defaultValue) { in getOnlyElement()
310 static Object[] toArray(Iterable<?> iterable) { in toArray()
[all …]
DFluentIterable.java75 private final Iterable<E> iterable; field in FluentIterable
82 FluentIterable(Iterable<E> iterable) { in FluentIterable()
90 public static <E> FluentIterable<E> from(final Iterable<E> iterable) { in from()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java36 Iterable<String> iterable = MinimalIterable.<String>of(); in testOf_empty() local
52 Iterable<String> iterable = MinimalIterable.of("a"); in testOf_one() local
70 Iterable<String> iterable in testFrom_empty() local
87 Iterable<String> iterable in testFrom_one() local
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIterablesTest.java59 Iterable<String> iterable = Collections.emptySet(); in testSize0() local
64 Iterable<String> iterable = Collections.singleton("a"); in testSize1Collection() local
69 Iterable<Integer> iterable = new Iterable<Integer>() { in testSize2NonCollection() local
89 private static Iterable<String> iterable(String... elements) { in iterable() method in IterablesTest
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java65 Iterable<String> iterable = Collections.emptySet(); in testSize0() local
70 Iterable<String> iterable = Collections.singleton("a"); in testSize1Collection() local
75 Iterable<Integer> iterable = new Iterable<Integer>() { in testSize2NonCollection() local
95 private static Iterable<String> iterable(String... elements) { in iterable() method in IterablesTest
DFluentIterableTest.java68 FluentIterable<Integer> iterable = FluentIterable.from(asList(1)); in testFrom_alreadyFluentIterable() local
82 Iterable<Integer> iterable = new Iterable<Integer>() { in testSize2NonCollection() local
112 Iterable<String> iterable = iterable("a", null, "b"); in testContains_nullIterableYes() local
117 Iterable<String> iterable = iterable("a", "b"); in testContains_nullIterableNo() local
137 Iterable<String> iterable = iterable("a", "b"); in testContains_nonNullIterableNo() local
229 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAnyMatch() local
241 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAllMatch() local
252 FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants")); in testFirstMatch() local
268 Iterable<Integer> iterable = in testTransformWith() local
278 Iterable<Integer> iterable = in testTransformWith_poorlyBehavedTransform() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DForeachStmt.java39 private Expression iterable; field in ForeachStmt
47 final Expression iterable, final Statement body) { in ForeachStmt()
54 final VariableDeclarationExpr var, final Expression iterable, in ForeachStmt()
69 public ForeachStmt(VariableDeclarationExpr var, String iterable, BlockStmt body) { in ForeachStmt()
105 public ForeachStmt setIterable(final Expression iterable) { in setIterable()
/external/cldr/tools/java/org/unicode/cldr/util/
DTransformer.java25 …> Transformer<S, V> iterator(Transform<S, ? extends V> transform, Iterable<? extends S> iterable) { in iterator()
33 …public static <S, V> With<V> iterable(Transform<S, ? extends V> transform, Iterator<? extends S> i… in iterable() method in Transformer
37 …public static <S, V> With<V> iterable(Transform<S, ? extends V> transform, Iterable<? extends S> i… in iterable() argument
41 public static <S, V> With<V> iterable(Transform<S, ? extends V> transform, S... items) { in iterable() method in Transformer
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DForeachStmt.java51 private Expression iterable; field in ForeachStmt
60 …public ForeachStmt(final VariableDeclarationExpr variable, final Expression iterable, final Statem… in ForeachStmt()
68 …public ForeachStmt(TokenRange tokenRange, VariableDeclarationExpr variable, Expression iterable, S… in ForeachStmt()
76 public ForeachStmt(VariableDeclarationExpr variable, String iterable, BlockStmt body) { in ForeachStmt()
122 public ForeachStmt setIterable(final Expression iterable) { in setIterable()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DForeachStmt.java36 private Expression iterable; field in ForeachStmt
44 final Expression iterable, final Statement body) { in ForeachStmt()
52 final VariableDeclarationExpr var, final Expression iterable, in ForeachStmt()
87 public void setIterable(final Expression iterable) { in setIterable()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java171 Iterable<V> iterable = new Iterable<V>() { in testPutAllEmptyIterableOnAbsentKey() local
178 assertFalse(multimap().putAll(sampleKeys().e3, iterable)); in testPutAllEmptyIterableOnAbsentKey() local
191 Iterable<V> iterable = new Iterable<V>() { in testPutAllOnlyCallsIteratorOnce() local
202 multimap().putAll(sampleKeys().e3, iterable); in testPutAllOnlyCallsIteratorOnce() local
/external/python/cpython2/Lib/
Dheapq.py203 def nlargest(n, iterable): argument
221 def nsmallest(n, iterable): argument
399 def nsmallest(n, iterable, key=None): argument
436 def nlargest(n, iterable, key=None): argument
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dexamples_iterable.cc66 for (auto& iterable : iter->sparse_float_column_iterables_) { in Iterator() local
71 for (auto& iterable : iter->sparse_int_column_iterables_) { in Iterator() local
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_specs.h66 const string& description, bool iterable) in ArgumentSpec()
77 bool iterable() const { return iterable_; } in iterable() function
103 const string& description, bool iterable, in AttributeSpec()
117 bool iterable() const { return iterable_; } in iterable() function
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java754 Iterable<PhoneNumberMatch> iterable = in testMaxMatches() local
773 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesInvalid() local
792 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesMixed() local
803 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("1 456 764 156", RegionCode.ZZ); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion() local
815 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("", RegionCode.ZZ); in testEmptyIteration() local
828 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testSingleIteration() local
853 Iterable<PhoneNumberMatch> iterable = in testDoubleIteration() local
887 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testRemovalNotSupported() local
1058 private boolean hasNoMatches(Iterable<PhoneNumberMatch> iterable) { in hasNoMatches()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsIterableContainingInRelativeOrder.java21 … protected boolean matchesSafely(Iterable<? extends E> iterable, Description mismatchDescription) { in matchesSafely()
45 public void processItems(Iterable<? extends F> iterable) { in processItems()
/external/smali/util/src/main/java/org/jf/util/
DCollectionUtils.java43 public static <T> int listHashCode(@Nonnull Iterable<T> iterable) { in listHashCode()
51 …tatic <T> int lastIndexOf(@Nonnull Iterable<T> iterable, @Nonnull Predicate<? super T> predicate) { in lastIndexOf()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/util/
DCharSequenceConverter.java45 …ic ImmutableList<String> immutableStringList(@Nullable Iterable<? extends CharSequence> iterable) { in immutableStringList()
/external/mockito/src/main/java/org/mockito/internal/util/collections/
DIterables.java35 public static <T> T firstOf(Iterable<T> iterable) { in firstOf()

12345678