/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
BindingCollector.java | 18 import com.google.common.collect.ImmutableSet; 39 throw new ConfigurationException(ImmutableSet.of(
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSet.java | 47 * <p><b>Warning:</b> Like most sets, an {@code ImmutableSet} will not function 74 public abstract class ImmutableSet<E> extends ImmutableCollection<E> 83 public static <E> ImmutableSet<E> of() { 84 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; 93 public static <E> ImmutableSet<E> of(E element) { 104 public static <E> ImmutableSet<E> of(E e1, E e2) { 115 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { 126 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { 137 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { 149 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6 [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSet.java | 29 * GWT emulated version of {@link ImmutableSet}. For the unsorted sets, they 40 public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> { 41 ImmutableSet() {} 45 public static <E> ImmutableSet<E> of() { 46 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; 49 public static <E> ImmutableSet<E> of(E element) { 54 public static <E> ImmutableSet<E> of(E e1, E e2) { 59 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { 64 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { 69 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/config/ |
CaliperConfigTest.java | 28 import com.google.common.collect.ImmutableSet; 146 assertEquals(ImmutableSet.of("test", "test2", "test4"), 151 assertEquals(ImmutableSet.of(), 155 assertEquals(ImmutableSet.of(TestResultProcessor.class),
|
/external/guava/guava-tests/test/com/google/common/io/ |
FileTreeTraverserTest.java | 19 import com.google.common.collect.ImmutableSet; 91 assertEquals(ImmutableSet.copyOf(files), 92 ImmutableSet.copyOf(Files.fileTreeTraverser().children(dir)));
|
/external/guice/core/test/com/google/inject/ |
GenericInjectionTest.java | 20 import com.google.common.collect.ImmutableSet; 150 assertEquals(ImmutableSet.of("one", "two"), parameterizedDeps.keys); 151 assertEquals(ImmutableSet.of(1, 2), ImmutableSet.copyOf(parameterizedDeps.values));
|
/external/guice/core/test/com/google/inject/spi/ |
InjectionPointTest.java | 26 import com.google.common.collect.ImmutableSet; 177 assertEquals(ImmutableSet.of( 189 assertEquals(ImmutableSet.of( 308 assertEquals(points.toString(), ImmutableSet.copyOf(methodNames), methods);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
26 An iterable argument is mandatory to create an ImmutableSet.
34 actually added is an ImmutableSet built from it (it compares equal to
38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and
49 # Set/ImmutableSet approach, and make the data an attribute.
59 __all__ = ['BaseSet', 'Set', 'ImmutableSet']
77 "Use Set or ImmutableSet.")
335 # only an ImmutableSet is hashable.
378 class ImmutableSet(BaseSet):
541 return ImmutableSet(self) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ContiguousSetTest.java | 100 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.closedOpen(1, 1), integers())); 101 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers())); 102 assertEquals(ImmutableSet.of(), 104 assertEquals(ImmutableSet.of(), 207 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { 210 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { 211 assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9)))); 213 assertFalse(set.containsAll(ImmutableSet.of("blah"))); 267 assertEquals(ImmutableSet.of(), set.intersection(emptySet)); 268 assertEquals(ImmutableSet.of(), emptySet.intersection(set)) [all...] |
EmptyImmutableTableTest.java | 32 return ImmutableSet.of(INSTANCE); 66 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); 74 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); 102 assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
|
/external/guava/guava-tests/test/com/google/common/base/ |
EnumsTest.java | 21 import com.google.common.collect.ImmutableSet; 101 assertEquals(ImmutableSet.copyOf(shadowTestEnum.getEnumConstants()), shadowConstants);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
BenchmarkHelpers.java | 68 return ImmutableSet.copyOf(contents); 126 ImmutableSet {
|
EmptyImmutableTableTest.java | 33 return ImmutableSet.of(INSTANCE); 54 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) 75 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); 83 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); 111 assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/ |
JavassistClassDeclarationTest.java | 25 import com.google.common.collect.ImmutableSet; 151 assertEquals(ImmutableSet.of("com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllSuperClasses().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 157 assertEquals(ImmutableSet.of("com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllAncestors().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 163 assertEquals(ImmutableSet.of(), compilationUnit.getInterfaces().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 166 assertEquals(ImmutableSet.of("com.github.javaparser.ast.DocumentableNode"), coid.getInterfaces().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 172 assertEquals(ImmutableSet.of(), compilationUnit.getAllInterfaces().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 175 assertEquals(ImmutableSet.of("com.github.javaparser.ast.NamedNode", "com.github.javaparser.ast.body.AnnotableNode", "com.github.javaparser.ast.DocumentableNode"), coid.getAllInterfaces().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 181 assertEquals(ImmutableSet.of("com.github.javaparser.ast.Node", "java.lang.Object"), cu.getAllSuperClasses().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 208 assertEquals(ImmutableSet.of(), compilationUnit.getInterfaces().stream().map(i -> i.getQualifiedName()).collect(Collectors.toSet())); 211 assertEquals(ImmutableSet.of("com.github.javaparser.ast.nodeTypes.NodeWithExtends", "com.github.javaparser.ast.nodeTypes.Nod (…) [all...] |
/external/python/cpython2/Lib/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 26 An iterable argument is mandatory to create an ImmutableSet. 34 actually added is an ImmutableSet built from it (it compares equal to 38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and 49 # Set/ImmutableSet approach, and make the data an attribute. 59 __all__ = ['BaseSet', 'Set', 'ImmutableSet'] 77 "Use Set or ImmutableSet.") 335 # only an ImmutableSet is hashable. 378 class ImmutableSet(BaseSet): 541 return ImmutableSet(self [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 26 An iterable argument is mandatory to create an ImmutableSet. 34 actually added is an ImmutableSet built from it (it compares equal to 38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and 49 # Set/ImmutableSet approach, and make the data an attribute. 59 __all__ = ['BaseSet', 'Set', 'ImmutableSet'] 77 "Use Set or ImmutableSet.") 335 # only an ImmutableSet is hashable. 378 class ImmutableSet(BaseSet): 541 return ImmutableSet(self [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 26 An iterable argument is mandatory to create an ImmutableSet. 34 actually added is an ImmutableSet built from it (it compares equal to 38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and 49 # Set/ImmutableSet approach, and make the data an attribute. 59 __all__ = ['BaseSet', 'Set', 'ImmutableSet'] 77 "Use Set or ImmutableSet.") 335 # only an ImmutableSet is hashable. 378 class ImmutableSet(BaseSet): 541 return ImmutableSet(self [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 26 An iterable argument is mandatory to create an ImmutableSet. 34 actually added is an ImmutableSet built from it (it compares equal to 38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and 49 # Set/ImmutableSet approach, and make the data an attribute. 59 __all__ = ['BaseSet', 'Set', 'ImmutableSet'] 77 "Use Set or ImmutableSet.") 335 # only an ImmutableSet is hashable. 378 class ImmutableSet(BaseSet): 541 return ImmutableSet(self [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sets.py | 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 26 An iterable argument is mandatory to create an ImmutableSet. 34 actually added is an ImmutableSet built from it (it compares equal to 38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and 49 # Set/ImmutableSet approach, and make the data an attribute. 59 __all__ = ['BaseSet', 'Set', 'ImmutableSet'] 77 "Use Set or ImmutableSet.") 335 # only an ImmutableSet is hashable. 378 class ImmutableSet(BaseSet): 541 return ImmutableSet(self [all...] |
/external/llvm/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 899 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 958 class ImmutableSet { 972 explicit ImmutableSet(TreeTy* R) : Root(R) { 975 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 978 ImmutableSet &operator=(const ImmutableSet &X) { 986 ~ImmutableSet() { [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 863 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 926 class ImmutableSet { 940 explicit ImmutableSet(TreeTy* R) : Root(R) { 943 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 946 ImmutableSet &operator=(const ImmutableSet &X) { 954 ~ImmutableSet() { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 903 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 961 class ImmutableSet { 975 explicit ImmutableSet(TreeTy* R) : Root(R) { 979 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 983 ImmutableSet &operator=(const ImmutableSet &X) { 992 ~ImmutableSet() { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 901 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 959 class ImmutableSet { 973 explicit ImmutableSet(TreeTy* R) : Root(R) { 977 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 981 ~ImmutableSet() { 985 ImmutableSet &operator=(const ImmutableSet &X) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 901 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 959 class ImmutableSet { 973 explicit ImmutableSet(TreeTy* R) : Root(R) { 977 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 981 ~ImmutableSet() { 985 ImmutableSet &operator=(const ImmutableSet &X) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 901 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 959 class ImmutableSet { 973 explicit ImmutableSet(TreeTy* R) : Root(R) { 977 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 981 ~ImmutableSet() { 985 ImmutableSet &operator=(const ImmutableSet &X) [all...] |