/external/guava/guava/src/com/google/common/collect/ |
SortedIterables.java | 45 public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { 81 Comparator<? super E> comparator, Iterable<E> elements) { 134 Comparator<? super E> comparator, Iterable<E> elements) {
|
ForwardingList.java | 144 int index, Iterable<? extends E> elements) {
|
ImmutableSortedMultiset.java | 200 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { 249 Comparator<? super E> comparator, Iterable<? extends E> elements) { 256 * the same {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which 279 Comparator<? super E> comparator, Iterable<? extends E> iterable) { 280 if (SortedIterables.hasSameComparator(comparator, iterable) 281 && iterable instanceof ImmutableSortedMultiset<?>) { 282 ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) iterable; 284 return (ImmutableSortedMultiset<E>) iterable; 288 (ImmutableList) ImmutableList.copyOf(SortedIterables.sortedCounts(comparator, iterable)); [all...] |
ImmutableSortedSet.java | 240 Iterable<? extends E> elements) { 335 Comparator<? super E> comparator, Iterable<? extends E> elements) { 367 * #copyOf(Iterable)}, which always uses the natural ordering of the 391 Comparator<? super E> comparator, Iterable<? extends E> elements) { 523 @Override public Builder<E> addAll(Iterable<? extends E> elements) {
|
ObjectArrays.java | 166 private static Object[] fillArray(Iterable<?> elements, Object[] array) {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 109 Iterable<? extends E> iterable = elements; local 110 return copyOf(iterable); 113 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { 203 @Override public Builder<E> addAll(Iterable<? extends E> elements) {
|
ImmutableSortedSet.java | 145 Iterable<? extends E> elements) { 160 Comparator<? super E> comparator, Iterable<? extends E> elements) { 187 Comparator<? super E> comparator, Iterable<? extends E> elements, 223 Iterable<?> elements, Comparator<?> comparator) { 399 @Override public Builder<E> addAll(Iterable<? extends E> elements) {
|
ImmutableCollection.java | 155 public Builder<E> addAll(Iterable<? extends E> elements) {
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 91 Iterable<CacheBuilder<Object, Object>> buildAllPermutations() { 93 Iterable<List<Object>> combinations = buildCartesianProduct(concurrencyLevels, 133 private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) {
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
SmartPoster.java | 137 Iterable<ParsedNdefRecord> records = NdefMessageParser.getRecords(recordsRaw); 192 private static <T> T getFirstIfExists(Iterable<?> elements, Class<T> type) { 193 Iterable<T> filtered = Iterables.filter(elements, type);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
IteratorsTest.java | 310 Iterable<String> list = Lists.newArrayList("cool", "pants"); 317 Iterable<String> list = Lists.newArrayList("cool", "pants"); 325 Iterable<String> list = Lists.newArrayList("cool", "pants"); 336 Iterable<String> list = Lists.newArrayList("cool", "pants"); 342 Iterable<String> list = Lists.newArrayList("cool", "pants"); 350 Iterable<String> list = Lists.newArrayList("cool", "pants"); 358 Iterable<String> list = Lists.newArrayList("cool", "pants"); 366 Iterable<String> list = Lists.newArrayList("cool", "pants"); 374 Iterable<String> list = Lists.newArrayList("cool", "pants"); 382 Iterable<String> list = Lists.newArrayList("cool", "pants") 499 Iterable<String> iterable = Lists.newArrayList("a"); local 504 assertEquals(Collections.emptyList(), iterable); local 519 Iterable<String> iterable = Lists.newArrayList("a", "b"); local 534 assertEquals(Collections.emptyList(), iterable); local 560 Iterable<String> iterable = asList("a", "b"); local 571 Iterable<String> iterable = Lists.newArrayList("a"); local 577 assertEquals(Collections.emptyList(), iterable); local 582 Iterable<String> iterable = Lists.newArrayList("a"); local [all...] |
AbstractImmutableSetTest.java | 58 protected abstract Set<String> copyOf(Iterable<String> elements); 210 private static class CountingIterable implements Iterable<String> { 220 CountingIterable iterable = new CountingIterable(); local 221 Set<String> set = copyOf(iterable); 228 CountingIterable iterable = new CountingIterable(); local 229 copyOf(iterable); 230 assertEquals(1, iterable.count); 409 builder.addAll((Iterable<String>) null); 428 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
|
SingletonImmutableTableTest.java | 125 @Override Iterable<ImmutableTable<Character, Integer, String>>
|
/cts/tests/tests/media/src/android/media/cts/ |
AdaptivePlaybackTest.java | 48 public Iterable<Codec> H264(CodecFactory factory) { 57 public Iterable<Codec> H263(CodecFactory factory) { 65 public Iterable<Codec> Mpeg4(CodecFactory factory) { 73 public Iterable<Codec> VP8(CodecFactory factory) { 82 public Iterable<Codec> VP9(CodecFactory factory) { 95 public Iterable<Codec> H264() { return H264(ALL); } 96 public Iterable<Codec> VP8() { return VP8(ALL); } 97 public Iterable<Codec> VP9() { return VP9(ALL); } 98 public Iterable<Codec> Mpeg4() { return Mpeg4(ALL); } 99 public Iterable<Codec> H263() { return H263(ALL); [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
SmallSortedMap.java | 193 /** @return An iterable over the overflow entries. */ 194 public Iterable<Map.Entry<K, V>> getOverflowEntries() { 196 EmptySet.<Map.Entry<K, V>>iterable() : 585 * Helper class that holds immutable instances of an Iterable/Iterator that 606 private static final Iterable<Object> ITERABLE = new Iterable<Object>() { 614 static <T> Iterable<T> iterable() { method in class:SmallSortedMap.EmptySet 615 return (Iterable<T>) ITERABLE [all...] |
/external/android-mock/tests/com/google/android/testing/mocking/ |
ClassTypeTests.java | 58 private <T> void assertUnorderedContentsSame(Iterable<T> expected, Iterable<T> actual) { 85 private Iterable<String> getMethodNames(GeneratedClassFile clazz) throws IOException {
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Predicates.java | 93 * predicate is found. It defensively copies the iterable passed in, so future 99 Iterable<? extends Predicate<? super T>> components) { 132 * true predicate is found. It defensively copies the iterable passed in, so 138 Iterable<? extends Predicate<? super T>> components) { 265 /** @see Predicates#and(Iterable) */ 298 /** @see Predicates#or(Iterable) */ 441 static <T> List<T> defensiveCopy(Iterable<T> iterable) { 443 for (T element : iterable) {
|
/cts/libs/vogar-expect/src/vogar/util/ |
Strings.java | 75 public static String join(Iterable<?> objects, String delimiter) {
|
/development/tools/idegen/src/com/android/idegen/ |
ModuleCache.java | 88 public Iterable<Module> getModules() {
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ObserverList.java | 32 public class ObserverList<E> implements Iterable<E> {
|
/external/guava/guava/src/com/google/common/cache/ |
CacheLoader.java | 97 public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
AbstractIteratorTester.java | 323 AbstractIteratorTester(int steps, Iterable<E> elementsToInsertIterable, 324 Iterable<? extends IteratorFeature> features, 325 Iterable<E> expectedElements, KnownOrder knownOrder, int startIndex) { 343 protected abstract Iterable<? extends Stimulus<E, ? super I>> 351 * Iterable, unless that Iterator is unmodifiable.
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
EquivalenceTester.java | 100 public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
|
RelationshipTester.java | 44 public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) {
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NestedMapData.java | 60 private Iterable<NestedMapData> iterableChildren = null; 235 public Iterable<Map.Entry<String, String>> getAttributes() { 291 public Iterable<? extends Data> getChildren() { 596 * called, not when this Iterable object was handed to the code. This might result in slightly 602 private class IterableChildren implements Iterable<NestedMapData> {
|