/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterables.java | 62 final Iterable<T> iterable) { in unmodifiableIterable() 78 ImmutableCollection<E> iterable) { in unmodifiableIterable() 83 private final Iterable<T> iterable; field in Iterables.UnmodifiableIterable 85 private UnmodifiableIterable(Iterable<T> iterable) { in UnmodifiableIterable() 104 public static int size(Iterable<?> iterable) { in size() 114 public static boolean contains(Iterable<?> iterable, @Nullable Object element) in contains() 253 public static String toString(Iterable<?> iterable) { in toString() 264 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement() 276 Iterable<T> iterable, @Nullable T defaultValue) { in getOnlyElement() 287 static Object[] toArray(Iterable<?> iterable) { in toArray() [all …]
|
D | ImmutableSet.java | 109 Iterable<? extends E> iterable = elements; in copyOf() local
|
D | Sets.java | 119 public static <E extends Enum<E>> EnumSet<E> newEnumSet(Iterable<E> iterable, in newEnumSet()
|
/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() 256 public static String toString(Iterable<?> iterable) { in toString() 267 public static <T> T getOnlyElement(Iterable<T> iterable) { in getOnlyElement() 279 Iterable<T> iterable, @Nullable T defaultValue) { in getOnlyElement() 292 public static <T> T[] toArray(Iterable<? extends T> iterable, Class<T> type) { in toArray() [all …]
|
D | Ordering.java | 409 public <E extends T> List<E> leastOf(Iterable<E> iterable, int k) { in leastOf() 450 public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) { in greatestOf() 511 public <E extends T> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy() 533 Iterable<E> iterable) { in immutableSortedCopy() 543 public boolean isOrdered(Iterable<? extends T> iterable) { in isOrdered() 564 public boolean isStrictlyOrdered(Iterable<? extends T> iterable) { in isStrictlyOrdered() 613 public <E extends T> E max(Iterable<E> iterable) { in max() 690 public <E extends T> E min(Iterable<E> iterable) { in min()
|
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()
|
D | NaturalOrdering.java | 56 Iterable<E> iterable) { in sortedCopy()
|
D | ComparatorOrdering.java | 49 @Override public <E extends T> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy()
|
D | Range.java | 499 private static <T> SortedSet<T> cast(Iterable<T> iterable) { in cast()
|
D | Collections2.java | 340 static <T> Collection<T> cast(Iterable<T> iterable) { in cast()
|
D | Sets.java | 122 public static <E extends Enum<E>> EnumSet<E> newEnumSet(Iterable<E> iterable, in newEnumSet()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IterablesTest.java | 63 Iterable<String> iterable = Collections.emptySet(); in testSize0() local 68 Iterable<String> iterable = Collections.singleton("a"); in testSize1Collection() local 73 Iterable<Integer> iterable = new Iterable<Integer>() { in testSize2NonCollection() local 94 private static Iterable<String> iterable(String... elements) { in iterable() method in IterablesTest
|
D | IteratorsTest.java | 499 Iterable<String> iterable = Lists.newArrayList("a"); in testCycleOfOneWithRemove() local 504 assertEquals(Collections.emptyList(), iterable); in testCycleOfOneWithRemove() local 519 Iterable<String> iterable = Lists.newArrayList("a", "b"); in testCycleOfTwoWithRemove() local 534 assertEquals(Collections.emptyList(), iterable); in testCycleOfTwoWithRemove() local 560 Iterable<String> iterable = asList("a", "b"); in testCycleWhenRemoveIsNotSupported() local 571 Iterable<String> iterable = Lists.newArrayList("a"); in testCycleRemoveAfterHasNext() local 577 assertEquals(Collections.emptyList(), iterable); in testCycleRemoveAfterHasNext() local 582 Iterable<String> iterable = Lists.newArrayList("a"); in testCycleNoSuchElementException() local
|
D | PeekingIteratorTest.java | 194 public ThrowsAtEndIterator(Iterable<E> iterable) { in ThrowsAtEndIterator()
|
D | ImmutableListTest.java | 373 CountingIterable iterable = new CountingIterable(); in testCopyOf_plainIterable() local 379 CountingIterable iterable = new CountingIterable(); in testCopyOf_plainIterable_iteratesOnce() local
|
D | AbstractImmutableSetTest.java | 220 CountingIterable iterable = new CountingIterable(); in testCopyOf_plainIterable() local 228 CountingIterable iterable = new CountingIterable(); in testCopyOf_plainIterable_iteratesOnce() local
|
D | ConcurrentHashMultisetTest.java | 336 Iterable<Integer> iterable = asList(1, 2, 2, 3, 4); in testCreateFromIterable() local
|
D | ImmutableMultisetTest.java | 257 CountingIterable iterable = new CountingIterable(); in testCopyOf_plainIterable() local
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 674 Iterable<PhoneNumberMatch> iterable = in testMaxMatches() local 693 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesInvalid() local 712 Iterable<PhoneNumberMatch> iterable = in testMaxMatchesMixed() local 723 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("1 456 764 156", RegionCode.ZZ); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion() local 735 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("", RegionCode.ZZ); in testEmptyIteration() local 748 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testSingleIteration() local 773 Iterable<PhoneNumberMatch> iterable = in testDoubleIteration() local 807 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testRemovalNotSupported() local 963 private boolean hasNoMatches(Iterable<PhoneNumberMatch> iterable) { in hasNoMatches()
|
/external/mockito/src/org/mockito/internal/util/ |
D | Checks.java | 20 public static <T extends Iterable> T checkItemsNotNull(T iterable, String checkedIterable) { in checkItemsNotNull()
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
D | openbugs.py | 51 def _find_bugs_in_iterable(self, iterable): argument
|
/external/guava/guava/src/com/google/common/base/ |
D | PairwiseEquivalence.java | 51 protected int doHash(Iterable<T> iterable) { in doHash()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 321 Iterable iterable = new Iterable<Predicate>() { in testAnd_iterableDefensivelyCopied() local 491 Iterable iterable = new Iterable<Predicate>() { in testOr_iterableDefensivelyCopied() local
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 441 static <T> List<T> defensiveCopy(Iterable<T> iterable) { in defensiveCopy()
|