HomeSort by relevance Sort by last modified time
    Searched defs:ImmutableSet (Results 1 - 25 of 36) sorted by null

1 2

  /external/guava/guava/src/com/google/common/collect/
ImmutableSet.java 45 * <p><b>Warning:</b> Like most sets, an {@code ImmutableSet} will not function
68 public abstract class ImmutableSet<E> extends ImmutableCollection<E>
77 public static <E> ImmutableSet<E> of() {
78 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE;
87 public static <E> ImmutableSet<E> of(E element) {
98 public static <E> ImmutableSet<E> of(E e1, E e2) {
109 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) {
120 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) {
131 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) {
143 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 ForwardingImmutableCollection<E>
43 ImmutableSet(Set<E> delegate) {
47 ImmutableSet() {
53 public static <E> ImmutableSet<E> of() {
54 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE;
57 public static <E> ImmutableSet<E> of(E element) {
62 public static <E> ImmutableSet<E> of(E e1, E e2) {
67 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) {
72 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ContiguousSetTest.java 95 * ImmutableSet.SerializedForm, which would be enormous.
217 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
220 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
221 assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))));
223 assertFalse(set.containsAll(ImmutableSet.of("blah")));
267 assertEquals(ImmutableSet.of(), set.intersection(emptySet));
268 assertEquals(ImmutableSet.of(), emptySet.intersection(set));
269 assertEquals(ImmutableSet.of(), Ranges.closed(-5, -1).asSet(integers()).intersection(
275 assertEquals(ImmutableSet.of(1, 2, 3), Ranges.open(-1, 4).asSet(integers()).intersection(set));
276 assertEquals(ImmutableSet.of(1, 2, 3), set.intersection(Ranges.open(-1, 4).asSet(integers())))
    [all...]
EmptyImmutableTableTest.java 32 return ImmutableSet.of(INSTANCE);
43 .addEqualityGroup(ArrayTable.create(ImmutableSet.of("A"),
44 ImmutableSet.of(1)))
65 assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
73 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet());
101 assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
ConcurrentHashMultisetTest.java 290 assertEquals(ImmutableSet.copyOf(elements), ImmutableSet.copyOf(multiset.entryIterator()));
RangeTest.java 567 assertEquals(ImmutableSet.of(), Ranges.closedOpen(1, 1).asSet(integers()));
568 assertEquals(ImmutableSet.of(), Ranges.openClosed(5, 5).asSet(integers()));
569 assertEquals(ImmutableSet.of(), Ranges.lessThan(Integer.MIN_VALUE).asSet(integers()));
570 assertEquals(ImmutableSet.of(), Ranges.greaterThan(Integer.MAX_VALUE).asSet(integers()));
  /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.
875 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These
938 class ImmutableSet {
952 explicit ImmutableSet(TreeTy* R) : Root(R) {
955 ImmutableSet(const ImmutableSet &X) : Root(X.Root) {
958 ImmutableSet &operator=(const ImmutableSet &X) {
966 ~ImmutableSet() {
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_sets.py 7 from sets import Set, ImmutableSet
172 self.assertEqual(type(element), ImmutableSet)
675 self.other = [Set('ab'), ImmutableSet('cd')]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_sets.py 7 from sets import Set, ImmutableSet
172 self.assertEqual(type(element), ImmutableSet)
675 self.other = [Set('ab'), ImmutableSet('cd')]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /libcore/benchmarks/libs/
caliper.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 
  /packages/services/Telecomm/libs/
guava.jar 
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.6/
gradle-tooling-api-1.6.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.6-rc-1/
gradle-tooling-api-1.6-rc-1.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.7/
gradle-tooling-api-1.7.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.10/
gradle-tooling-api-1.10.jar 

Completed in 2875 milliseconds

1 2