Home
last modified time | relevance | path

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

123456789

/external/guava/guava/src/com/google/common/collect/
DIterables.java71 public static <T> Iterable<T> unmodifiableIterable(final Iterable<? extends T> iterable) { in unmodifiableIterable()
88 public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) { in unmodifiableIterable()
93 private final Iterable<? extends T> iterable; field in Iterables.UnmodifiableIterable
95 private UnmodifiableIterable(Iterable<? extends T> iterable) { in UnmodifiableIterable()
123 public static int size(Iterable<?> iterable) { in size()
135 public static boolean contains(Iterable<?> iterable, @Nullable Object element) { in contains()
240 public static String toString(Iterable<?> iterable) { in toString()
253 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement()
267 Iterable<? extends T> iterable, @Nullable T defaultValue) { in getOnlyElement()
279 public static <T> T[] toArray(Iterable<? extends T> iterable, Class<T> type) { in toArray()
[all …]
DFluentIterable.java122 FluentIterable(Iterable<E> iterable) { in FluentIterable()
138 public static <E> FluentIterable<E> from(final Iterable<E> iterable) { in from()
DAllEqualOrdering.java39 public <E> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy()
44 public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { in immutableSortedCopy()
DOrdering.java574 public <E extends T> E min(Iterable<E> iterable) { in min()
660 public <E extends T> E max(Iterable<E> iterable) { in max()
723 public <E extends T> List<E> leastOf(Iterable<E> iterable, int k) { in leastOf()
797 public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) { in greatestOf()
875 public boolean isOrdered(Iterable<? extends T> iterable) { in isOrdered()
899 public boolean isStrictlyOrdered(Iterable<? extends T> iterable) { in isStrictlyOrdered()
/external/guava/android/guava/src/com/google/common/collect/
DIterables.java68 public static <T> Iterable<T> unmodifiableIterable(final Iterable<? extends T> iterable) { in unmodifiableIterable()
85 public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) { in unmodifiableIterable()
90 private final Iterable<? extends T> iterable; field in Iterables.UnmodifiableIterable
92 private UnmodifiableIterable(Iterable<? extends T> iterable) { in UnmodifiableIterable()
109 public static int size(Iterable<?> iterable) { in size()
121 public static boolean contains(Iterable<?> iterable, @NullableDecl Object element) { in contains()
278 public static String toString(Iterable<?> iterable) { in toString()
291 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement()
305 public static <T> T getOnlyElement(Iterable<? extends T> iterable, @NullableDecl T defaultValue) { in getOnlyElement()
317 public static <T> T[] toArray(Iterable<? extends T> iterable, Class<T> type) { in toArray()
[all …]
DFluentIterable.java125 FluentIterable(Iterable<E> iterable) { in FluentIterable()
141 public static <E> FluentIterable<E> from(final Iterable<E> iterable) { in from()
DAllEqualOrdering.java39 public <E> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy()
44 public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { in immutableSortedCopy()
DOrdering.java574 public <E extends T> E min(Iterable<E> iterable) { in min()
660 public <E extends T> E max(Iterable<E> iterable) { in max()
723 public <E extends T> List<E> leastOf(Iterable<E> iterable, int k) { in leastOf()
797 public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) { in greatestOf()
875 public boolean isOrdered(Iterable<? extends T> iterable) { in isOrdered()
899 public boolean isStrictlyOrdered(Iterable<? extends T> iterable) { in isStrictlyOrdered()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java34 Iterable<String> iterable = MinimalIterable.<String>of(); in testOf_empty() local
50 Iterable<String> iterable = MinimalIterable.of("a"); in testOf_one() local
68 Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet()); in testFrom_empty() local
84 Iterable<String> iterable = MinimalIterable.from(Collections.singleton("a")); in testFrom_one() local
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java61 Iterable<String> iterable = Collections.emptySet(); in testSize0() local
66 Iterable<String> iterable = Collections.singleton("a"); in testSize1Collection() local
71 Iterable<Integer> iterable = in testSize2NonCollection() local
94 private static Iterable<String> iterable(String... elements) { in iterable() method in IterablesTest
DFluentIterableTest.java85 FluentIterable<Integer> iterable = FluentIterable.from(asList(1)); in testFrom_alreadyFluentIterable() local
148 Iterable<Integer> iterable = asList(1, 2, 3); in testConcatPeformingFiniteCycle() local
204 Iterable<Integer> iterable = in testSize2NonCollection() local
237 Iterable<String> iterable = iterable("a", null, "b"); in testContains_nullIterableYes() local
242 Iterable<String> iterable = iterable("a", "b"); in testContains_nullIterableNo() local
262 Iterable<String> iterable = iterable("a", "b"); in testContains_nonNullIterableNo() local
379 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAnyMatch() local
391 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAllMatch() local
402 FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants")); in testFirstMatch() local
418 Iterable<Integer> iterable = FluentIterable.from(input).transform(new IntegerValueOfFunction()); in testTransformWith() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DIterablesTest.java61 Iterable<String> iterable = Collections.emptySet(); in testSize0() local
66 Iterable<String> iterable = Collections.singleton("a"); in testSize1Collection() local
71 Iterable<Integer> iterable = in testSize2NonCollection() local
94 private static Iterable<String> iterable(String... elements) { in iterable() method in IterablesTest
DFluentIterableTest.java81 FluentIterable<Integer> iterable = FluentIterable.from(asList(1)); in testFrom_alreadyFluentIterable() local
144 Iterable<Integer> iterable = asList(1, 2, 3); in testConcatPeformingFiniteCycle() local
200 Iterable<Integer> iterable = in testSize2NonCollection() local
233 Iterable<String> iterable = iterable("a", null, "b"); in testContains_nullIterableYes() local
238 Iterable<String> iterable = iterable("a", "b"); in testContains_nullIterableNo() local
258 Iterable<String> iterable = iterable("a", "b"); in testContains_nonNullIterableNo() local
375 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAnyMatch() local
387 FluentIterable<String> iterable = FluentIterable.<String>from(list); in testAllMatch() local
398 FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants")); in testFirstMatch() local
414 Iterable<Integer> iterable = FluentIterable.from(input).transform(new IntegerValueOfFunction()); in testTransformWith() local
[all …]
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java34 Iterable<String> iterable = MinimalIterable.<String>of(); in testOf_empty() local
50 Iterable<String> iterable = MinimalIterable.of("a"); in testOf_one() local
68 Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet()); in testFrom_empty() local
84 Iterable<String> iterable = MinimalIterable.from(Collections.singleton("a")); in testFrom_one() local
/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/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins.py529 def filter_(function, iterable): argument
535 def _tf_dataset_filter(function, iterable): argument
539 def _py_filter(function, iterable): argument
543 def any_(iterable): argument
554 def _tf_dataset_any(iterable): argument
568 def _py_any(iterable): argument
572 def all_(iterable): argument
580 def _tf_dataset_all(iterable): argument
594 def _py_all(iterable): argument
598 def sorted_(iterable, key=UNSPECIFIED, reverse=UNSPECIFIED): argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DForEachStmt.java54 private Expression iterable; field in ForEachStmt
63 …public ForEachStmt(final VariableDeclarationExpr variable, final Expression iterable, final Statem… in ForEachStmt()
71 …public ForEachStmt(TokenRange tokenRange, VariableDeclarationExpr variable, Expression iterable, S… in ForEachStmt()
79 public ForEachStmt(VariableDeclarationExpr variable, String iterable, BlockStmt body) { in ForEachStmt()
125 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.java177 Iterable<V> iterable = in testPutAllEmptyIterableOnAbsentKey() local
185 assertFalse(multimap().putAll(k3(), iterable)); in testPutAllEmptyIterableOnAbsentKey() local
198 Iterable<V> iterable = in testPutAllOnlyCallsIteratorOnce() local
210 multimap().putAll(k3(), iterable); in testPutAllOnlyCallsIteratorOnce() local
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java177 Iterable<V> iterable = in testPutAllEmptyIterableOnAbsentKey() local
185 assertFalse(multimap().putAll(k3(), iterable)); in testPutAllEmptyIterableOnAbsentKey() local
198 Iterable<V> iterable = in testPutAllOnlyCallsIteratorOnce() local
210 multimap().putAll(k3(), 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/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/python/cpython3/Modules/clinic/
Ditertoolsmodule.c.h131 PyObject *iterable; in itertools__tee() local
163 PyObject *iterable; in itertools_tee() local
210 PyObject *iterable; in itertools_cycle() local
351 PyObject *iterable; in itertools_combinations() local
404 PyObject *iterable; in itertools_combinations_with_replacement() local
457 PyObject *iterable; in itertools_permutations() local
496 PyObject *iterable; in itertools_accumulate() local
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java756 Iterable<PhoneNumberMatch> iterable = in testMaxMatches() local
775 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesInvalid() local
794 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesMixed() local
805 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("1 456 764 156", RegionCode.ZZ); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion() local
817 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("", RegionCode.ZZ); in testEmptyIteration() local
830 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testSingleIteration() local
855 Iterable<PhoneNumberMatch> iterable = in testDoubleIteration() local
889 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testRemovalNotSupported() local
1060 private boolean hasNoMatches(Iterable<PhoneNumberMatch> iterable) { in hasNoMatches()

123456789