OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Iterables
(Results
76 - 100
of
248
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
StripedBenchmark.java
19
import static com.google.common.collect.
Iterables
.cycle;
20
import static com.google.common.collect.
Iterables
.limit;
/external/guava/guava-tests/test/com/google/common/collect/
WellBehavedMapTest.java
66
Map.Entry<Foo, Integer> entry1 =
Iterables
.getOnlyElement(map.entrySet());
67
Map.Entry<Foo, Integer> entry2 =
Iterables
.getOnlyElement(map.entrySet());
/external/guice/core/src/com/google/inject/internal/
SingletonScope.java
5
import com.google.common.collect.
Iterables
;
206
Message proxyCreationError =
Iterables
.getOnlyElement(e.getErrors());
ConstructorInjectorStore.java
19
import static com.google.common.collect.
Iterables
.concat;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolClassDef.java
63
Iterables
.transform(classDef.getDirectMethods(), PoolMethod.TRANSFORM));
65
Iterables
.transform(classDef.getVirtualMethods(), PoolMethod.TRANSFORM));
/external/vogar/src/vogar/android/
DeviceRuntime.java
20
import com.google.common.collect.
Iterables
;
79
Iterables
.addAll(vmCommand, run.invokeWith());
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/subcomponent/
SubcomponentMultibindingsTest.java
26
import static com.google.common.collect.
Iterables
.getOnlyElement;
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
ClientAuthInterceptorTest.java
31
import com.google.common.collect.
Iterables
;
124
Iterables
.toArray(authorization, String.class));
127
Iterables
.toArray(extraAuthorization, String.class));
164
Iterables
.toArray(authorization, String.class));
/external/guava/guava/src/com/google/common/collect/
ImmutableEnumSet.java
39
return ImmutableSet.of(
Iterables
.getOnlyElement(set));
ImmutableEnumMap.java
42
Entry<K, V> entry =
Iterables
.getOnlyElement(map.entrySet());
/external/guava/guava-tests/test/com/google/common/util/concurrent/
WrappingExecutorServiceTest.java
25
import com.google.common.collect.
Iterables
;
236
return inline.submit(
Iterables
.get(tasks, 0)).get();
245
return inline.submit(
Iterables
.get(tasks, 0)).get(timeout, unit);
302
assertTrue(
Iterables
.all(tasks, p));
/external/guice/core/test/com/google/inject/
ImplicitBindingTest.java
19
import com.google.common.collect.
Iterables
;
178
Message msg =
Iterables
.getOnlyElement(expected.getErrorMessages());
351
Message msg =
Iterables
.getOnlyElement(expected.getErrorMessages());
431
Message msg =
Iterables
.getOnlyElement(expected.getErrorMessages());
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
WorkerProcessTest.java
31
import com.google.common.collect.
Iterables
;
112
Iterables
.getOnlyElement(registrar.hooks).getName());
121
Thread hook =
Iterables
.getOnlyElement(registrar.hooks);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
BuilderValidator.java
20
import com.google.common.collect.
Iterables
;
41
import static com.google.common.collect.
Iterables
.getOnlyElement;
140
Iterables
.getOnlyElement(resolvedMethodType.getParameterTypes())),
ContributionBinding.java
26
import com.google.common.collect.
Iterables
;
240
checkArgument(!
Iterables
.isEmpty(bindings), "no bindings");
249
return
Iterables
.getOnlyElement(types);
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
InternetDomainNameTest.java
23
import com.google.common.collect.
Iterables
;
332
final Iterable<String> validCases =
Iterables
.concat(
334
final Iterable<String> invalidCases =
Iterables
.concat(
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapAsMapTester.java
27
import com.google.common.collect.
Iterables
;
102
Collection<V> valueCollection =
Iterables
.getOnlyElement(asMapEntrySet).getValue();
129
Entry<K, Collection<V>> asMapEntry0 =
Iterables
.getOnlyElement(asMapEntrySet);
/external/turbine/javatests/com/google/turbine/deps/
AbstractTransitiveTest.java
20
import static com.google.common.collect.
Iterables
.getOnlyElement;
26
import com.google.common.collect.
Iterables
;
132
assertThat(
Iterables
.transform(a.innerClasses(), InnerClass::innerClass))
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderClassPool.java
163
Iterable<BuilderField> fields =
Iterables
.limit(sortedStaticFields, lastIndex + 1);
164
return
Iterables
.transform(fields, GET_INITIAL_VALUE).iterator();
253
boolean hasParameterAnnotations =
Iterables
.any(parameters, HAS_PARAMETER_ANNOTATIONS);
258
return
Iterables
.transform(parameters, PARAMETER_ANNOTATIONS).iterator();
280
return
Iterables
.transform(method.getParameters(), new Function<BuilderMethodParameter, BuilderStringReference>() {
/development/tools/idegen/src/com/android/idegen/
Module.java
22
import com.google.common.collect.
Iterables
;
388
.add("explicitModuleNameDependencies",
Iterables
.toString(
390
.add("implicitModulePathDependencies",
Iterables
.toString(
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
JavaWriter.java
25
import com.google.common.collect.
Iterables
;
175
file(filer,
Iterables
.getOnlyElement(typeWriters).name.canonicalName(), originatingElements);
181
Iterables
.toArray(originatingElements, Element.class));
/external/guava/guava-tests/test/com/google/common/net/
InternetDomainNameTest.java
24
import com.google.common.collect.
Iterables
;
334
final Iterable<String> validCases =
Iterables
.concat(
336
final Iterable<String> invalidCases =
Iterables
.concat(
/external/desugar/java/com/google/devtools/build/android/desugar/
LambdaClassMaker.java
17
import static com.google.common.collect.
Iterables
.getOnlyElement;
/external/guice/core/test/com/google/inject/spi/
ModuleAnnotatedMethodScannerTest.java
25
import com.google.common.collect.
Iterables
;
206
Message m =
Iterables
.getOnlyElement(expected.getErrorMessages());
210
ElementSource source = (ElementSource)
Iterables
.getOnlyElement(m.getSources());
212
SomeModule.class.getName(),
Iterables
.getOnlyElement(source.getModuleClassNames()));
/external/mockito/src/test/java/org/mockitoutil/
JUnitResultAssert.java
13
import static org.mockito.internal.util.collections.
Iterables
.firstOf;
Completed in 3594 milliseconds
1
2
3
4
5
6
7
8
9
10