Searched refs:ImmutableList (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DTagBalancingHtmlStreamRendererTest.java31 import com.google.common.collect.ImmutableList;
61 balancer.openTag("html", ImmutableList.<String>of());
62 balancer.openTag("head", ImmutableList.<String>of());
63 balancer.openTag("title", ImmutableList.<String>of());
68 balancer.openTag("body", ImmutableList.<String>of());
69 balancer.openTag("p", ImmutableList.of("id", "p'0"));
71 balancer.openTag("Br", ImmutableList.<String>of());
86 balancer.openTag("i", ImmutableList.<String>of());
88 balancer.openTag("b", ImmutableList.<String>of());
102 balancer.openTag("ul", ImmutableList
[all...]
H A DHtmlStreamRendererTest.java34 import com.google.common.collect.ImmutableList;
100 renderer.openTag(":svg", ImmutableList.<String>of());
101 renderer.openTag("svg:", ImmutableList.<String>of());
102 renderer.openTag("-1", ImmutableList.<String>of());
103 renderer.openTag("svg::svg", ImmutableList.<String>of());
104 renderer.openTag("a@b", ImmutableList.<String>of());
123 renderer.openTag("div", ImmutableList.of(":svg", "x"));
124 renderer.openTag("div", ImmutableList.of("svg:", "x"));
125 renderer.openTag("div", ImmutableList.of("-1", "x"));
126 renderer.openTag("div", ImmutableList
[all...]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableListTest.java35 * Unit test for {@link ImmutableList}.
46 List<String> list = ImmutableList.of();
51 List<String> list = ImmutableList.of("a");
56 List<String> list = ImmutableList.of("a", "b");
61 List<String> list = ImmutableList.of("a", "b", "c");
66 List<String> list = ImmutableList.of("a", "b", "c", "d");
71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e");
76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f");
81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g");
86 List<String> list = ImmutableList
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DTrialResult.java18 import com.google.common.collect.ImmutableList;
26 private final ImmutableList<String> trialMessages;
28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) {
42 ImmutableList<String> getTrialMessages() {
H A DParameter.java24 import com.google.common.collect.ImmutableList;
43 private final ImmutableList<String> defaults;
95 ImmutableList<String> defaults() {
111 private static ImmutableList<String> findDefaults(Field field) {
114 return ImmutableList.copyOf(defaultsAsStrings);
123 ImmutableList.Builder<String> builder = ImmutableList.builder();
129 return ImmutableList.of();
132 private static final ImmutableList<String> ALL_BOOLEANS = ImmutableList
[all...]
/external/guava/guava-testlib/test/com/google/common/testing/
H A DAbstractPackageSanityTestsTest.java22 import com.google.common.collect.ImmutableList;
39 assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class)))
41 assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class)))
43 assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class)))
45 assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class)))
50 assertThat(findClassesToTest(ImmutableList.of(Foo.class)))
52 assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
58 assertThat(findClassesToTest(ImmutableList.of(Foo.class)))
60 assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).has().item(PublicFoo.class);
65 assertThat(findClassesToTest(ImmutableList
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DRegularImmutableSortedSet.java36 @Override ImmutableList<E> createAsList() {
37 return new ImmutableSortedAsList<E>(this, ImmutableList.<E>asImmutableList(toArray()));
H A DRegularImmutableAsList.java23 * already backed by an {@code ImmutableList} or array.
31 private final ImmutableList<? extends E> delegateList;
33 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) {
39 this(delegate, ImmutableList.<E>asImmutableList(array));
47 ImmutableList<? extends E> delegateList() {
H A DImmutableList.java34 * GWT emulated version of {@link ImmutableList}.
40 public abstract class ImmutableList<E> extends ImmutableCollection<E> class in inherits:ImmutableCollection,List,RandomAccess
42 static final ImmutableList<Object> EMPTY =
45 ImmutableList() {} method in class:ImmutableList
49 public static <E> ImmutableList<E> of() {
50 return (ImmutableList<E>) EMPTY;
53 public static <E> ImmutableList<E> of(E element) {
57 public static <E> ImmutableList<E> of(E e1, E e2) {
59 ImmutableList.<E>nullCheckedList(e1, e2));
62 public static <E> ImmutableList<
[all...]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
H A DTryListBuilderTest.java34 import com.google.common.collect.ImmutableList;
56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10,
57 ImmutableList.of(new ImmutableExceptionHandler(null, 5))));
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5,
71 ImmutableList.of(new ImmutableExceptionHandler(null, 15))));
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10,
85 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 5))));
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5,
99 ImmutableList.of(new ImmutableExceptionHandler("Ljava/lang/Exception;", 15))));
113 List<? extends TryBlock> expected = ImmutableList
[all...]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
H A DSuperclassChainTest.java34 import com.google.common.collect.ImmutableList;
68 ImmutableList.<TypeProto>of(),
69 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(objectClassProto)));
72 ImmutableList.<TypeProto>of(objectClassProto),
73 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(oneClassProto)));
76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto),
77 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(twoClassProto)));
80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto),
81 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(threeClassProto)));
99 ImmutableList
[all...]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DMethodSignature.java6 import com.google.common.collect.ImmutableList;
15 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> parameterTypes();
16 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> thrownTypes();
20 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> parameters = ImmutableList.builder();
21 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> thrownTypes = ImmutableList.builder();
H A DMissingBindingSuggestions.java18 import com.google.common.collect.ImmutableList;
33 static ImmutableList<String> forKey(BindingGraph topLevelGraph, BindingKey key) {
34 ImmutableList.Builder<String> resolutions = new ImmutableList.Builder<>();
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
H A DStopMeasurementLogMessage.java21 import com.google.common.collect.ImmutableList;
31 private final ImmutableList<Measurement> measurements;
34 this.measurements = ImmutableList.copyOf(measurements);
37 public ImmutableList<Measurement> measurements() {
H A DWorkerSpec.java20 import com.google.common.collect.ImmutableList;
42 public final ImmutableList<Class<?>> methodParameterClasses;
50 ImmutableList<Class<?>> methodParameterClasses,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
H A DImmutableArrayEncodedValue.java34 import com.google.common.collect.ImmutableList;
43 @Nonnull protected final ImmutableList<? extends ImmutableEncodedValue> value;
49 public ImmutableArrayEncodedValue(@Nonnull ImmutableList<ImmutableEncodedValue> value) {
60 @Nonnull public ImmutableList<? extends ImmutableEncodedValue> getValue() { return value; }
/external/smali/util/src/main/java/org/jf/util/
H A DImmutableUtils.java34 import com.google.common.collect.ImmutableList;
42 @Nonnull public static <T> ImmutableList<T> nullToEmptyList(@Nullable ImmutableList<T> list) {
44 return ImmutableList.of();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableMethodImplementation.java34 import com.google.common.collect.ImmutableList;
50 @Nonnull protected final ImmutableList<? extends ImmutableInstruction> instructions;
51 @Nonnull protected final ImmutableList<? extends ImmutableTryBlock> tryBlocks;
52 @Nonnull protected final ImmutableList<? extends ImmutableDebugItem> debugItems;
65 @Nullable ImmutableList<? extends ImmutableInstruction> instructions,
66 @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks,
67 @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) {
90 @Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; }
91 @Nonnull @Override public ImmutableList<? extends ImmutableTryBlock> getTryBlocks() { return tryBlocks; }
92 @Nonnull @Override public ImmutableList<
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DImmutableListTest.java60 * Unit test for {@link ImmutableList}.
73 .named("ImmutableList")
79 .named("ImmutableList, built with Builder.add")
85 .named("ImmutableList, built with Builder.addAll")
91 .named("ImmutableList, reversed")
98 .named("ImmutableList, head subList")
105 .named("ImmutableList, tail subList")
112 .named("ImmutableList, middle subList")
120 .named("ImmutableList, unhashable values")
129 List<String> list = ImmutableList
[all...]
/external/llvm/include/llvm/ADT/
H A DImmutableList.h1 //==--- ImmutableList.h - Immutable (functional) list interface --*- C++ -*-==//
10 // This file defines the ImmutableList class.
54 /// ImmutableList - This class represents an immutable (functional) list.
57 /// This interface matches ImmutableSet and ImmutableMap. ImmutableList
63 class ImmutableList { class in namespace:llvm
75 ImmutableList(const ImmutableListImpl<T>* x = nullptr) : X(x) {} function in class:llvm::ImmutableList
85 iterator(ImmutableList l) : L(l.getInternalPointer()) {}
91 ImmutableList getList() const { return L; }
118 bool isEqual(const ImmutableList& L) const { return X == L.X; }
120 bool operator==(const ImmutableList
[all...]
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
H A DGraphvizEdge.java19 import com.google.common.collect.ImmutableList;
34 private List<ArrowType> arrowHead = ImmutableList.of(ArrowType.NORMAL);
39 private List<ArrowType> arrowTail = ImmutableList.of(ArrowType.NONE);
74 this.arrowHead = ImmutableList.copyOf(arrowHead);
103 this.arrowTail = ImmutableList.copyOf(arrowTail);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
H A DImmutableArrayPayload.java34 import com.google.common.collect.ImmutableList;
48 @Nonnull protected final ImmutableList<Number> arrayElements;
54 this.arrayElements = arrayElements==null ? ImmutableList.<Number>of() : ImmutableList.copyOf(arrayElements);
58 @Nullable ImmutableList<Number> arrayElements) {
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
H A DSubcomponentBuilderValidationTest.java18 import com.google.common.collect.ImmutableList;
62 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile))
96 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile))
134 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile))
167 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile))
213 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile))
232 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile))
251 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile))
270 assertAbout(javaSources()).that(ImmutableList.of(childComponentFile))
291 assertAbout(javaSources()).that(ImmutableList
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/util/
H A DInvalidCommandException.java17 import com.google.common.collect.ImmutableList;
27 private ImmutableList<String> usage;
34 this.usage = ImmutableList.copyOf(usage);
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
H A DInMemoryResultsUploader.java23 import com.google.common.collect.ImmutableList;
35 static ImmutableList<Trial> trials() {
36 return ImmutableList.copyOf(trials);

Completed in 771 milliseconds

1234567891011>>