/external/guava/guava/src/com/google/common/collect/ |
D | Iterables.java | 65 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 …]
|
D | FluentIterable.java | 76 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()
|
D | AllEqualOrdering.java | 41 public <E> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy() 46 public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { in immutableSortedCopy()
|
D | Ordering.java | 481 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()
|
D | ReverseNaturalOrdering.java | 60 @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()
|
D | ReverseOrdering.java | 60 @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/ |
D | Iterables.java | 63 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 …]
|
D | FluentIterable.java | 75 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/ |
D | MinimalIterableTest.java | 36 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/ |
D | IterablesTest.java | 59 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
|
D | TreeTraverserTest.java | 112 static String iterationOrder(Iterable<Tree> iterable) { in iterationOrder() 120 static String binaryIterationOrder(Iterable<BinaryTree> iterable) { in binaryIterationOrder()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IterablesTest.java | 65 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
|
D | FluentIterableTest.java | 68 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 …]
|
D | TreeTraverserTest.java | 114 static String iterationOrder(Iterable<Tree> iterable) { in iterationOrder() 122 static String binaryIterationOrder(Iterable<BinaryTree> iterable) { in binaryIterationOrder()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapPutIterableTester.java | 171 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/v8/src/js/ |
D | promise.js | 28 function PromiseAll(iterable) { argument 92 function PromiseRace(iterable) { argument
|
D | weak-collection.js | 29 function WeakMapConstructor(iterable) { argument 118 function WeakSetConstructor(iterable) { argument
|
/external/python/cpython2/Lib/ |
D | heapq.py | 203 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/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsIterableContainingInRelativeOrder.java | 21 … protected boolean matchesSafely(Iterable<? extends E> iterable, Description mismatchDescription) { in matchesSafely() 45 public void processItems(Iterable<? extends F> iterable) { in processItems()
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 754 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/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/util/ |
D | CharSequenceConverter.java | 45 …ic ImmutableList<String> immutableStringList(@Nullable Iterable<? extends CharSequence> iterable) { in immutableStringList()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 43 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()
|
D | ImmutableConverter.java | 49 public ImmutableList<ImmutableItem> toList(@Nullable final Iterable<? extends Item> iterable) { in toList()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | Checks.java | 20 public static <T extends Iterable<?>> T checkItemsNotNull(T iterable, String checkedIterable) { in checkItemsNotNull()
|
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
D | Iterables.java | 35 public static <T> T firstOf(Iterable<T> iterable) { in firstOf()
|