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

1 2 3 4 5 6

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EmptyImmutableSortedSet.java 28 super(Sets.newTreeSet(comparator));
ImmutableSortedSet.java 245 * which, in a vacuum, sets this object's contents to empty. By contrast,
256 this(Sets.newTreeSet(comparator));
Sets.java 51 * "http://code.google.com/p/guava-libraries/wiki/CollectionUtilitiesExplained#Sets">
52 * {@code Sets}</a>.
60 public final class Sets {
61 private Sets() {}
391 return Sets.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
467 * Set<Object> identityHashSet = Sets.newSetFromMap(
483 * An unmodifiable view of a set which may be backed by other sets; this view
484 * will change as the backing sets do. Contains methods to copy the data into
511 * all the sets involved are based on the same notion of equivalence.
524 * Returns an unmodifiable <b>view</b> of the union of two sets. The returne
    [all...]
  /external/jcommander/src/main/java/com/beust/jcommander/internal/
Sets.java 25 public class Sets {
  /external/testng/src/main/java/org/testng/collections/
Sets.java 8 public final class Sets {
10 private Sets() {}
  /external/mockito/src/org/mockito/internal/util/collections/
Sets.java 14 public abstract class Sets {
  /external/guava/guava-tests/test/com/google/common/collect/
SortedIterablesTest.java 31 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
38 Sets.newTreeSet(Ordering.natural().reverse())));
42 assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet()));
TreeMultimapExplicitTest.java 204 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo"));
205 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
206 assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
MapMakerTest.java 128 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
178 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet()));
179 assertTrue(Sets.intersection(map.keySet(), removalNotifications.keySet()).isEmpty());
ImmutableBiMapTest.java 116 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
117 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
447 assertEquals(Sets.newHashSet("one", "two", "three", "four"), keys);
455 assertEquals(Sets.newHashSet(1, 2, 3, 4), values);
ImmutableMapTest.java 167 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
ImmutableSortedMapTest.java 135 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
136 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
  /external/llvm/lib/Support/
DeltaAlgorithm.cpp 45 const changesetlist_ty &Sets) {
47 UpdatedSearchState(Changes, Sets);
50 if (Sets.size() <= 1)
55 if (Search(Changes, Sets, Res))
58 // Otherwise, partition the sets if possible; if not we are done.
60 for (changesetlist_ty::const_iterator it = Sets.begin(),
61 ie = Sets.end(); it != ie; ++it)
63 if (SplitSets.size() == Sets.size())
70 const changesetlist_ty &Sets,
73 for (changesetlist_ty::const_iterator it = Sets.begin()
    [all...]
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 29 * other static methods for working with Sets.
32 public class Sets {
55 * <p>{@code Set<Base> set = Sets.newHashSet(sub1, sub2);}
60 * <p>{@code Set<Base> set = Sets.<Base>newHashSet(sub1, sub2);}
  /external/llvm/utils/TableGen/
TableGen.cpp 83 clEnumValN(PrintSets, "print-sets",
84 "Print expanded sets for testing DAG exprs"),
156 SetTheory Sets;
157 Sets.addFieldExpander("Set", "Elements");
160 const std::vector<Record*> *Elts = Sets.expand(Rec);
CodeGenSchedule.h 225 SetTheory Sets;
  /external/guava/guava/src/com/google/common/collect/
Sets.java 55 * "http://code.google.com/p/guava-libraries/wiki/CollectionUtilitiesExplained#Sets">
56 * {@code Sets}</a>.
64 public final class Sets {
65 private Sets() {}
395 return Sets.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
503 * Set<Object> identityHashSet = Sets.newSetFromMap(
519 * An unmodifiable view of a set which may be backed by other sets; this view
520 * will change as the backing sets do. Contains methods to copy the data into
547 * all the sets involved are based on the same notion of equivalence.
560 * Returns an unmodifiable <b>view</b> of the union of two sets. The returne
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
TreeMultimapExplicitTest.java 202 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo"));
203 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
204 assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
ImmutableBiMapTest.java 75 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
76 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
406 assertEquals(Sets.newHashSet("one", "two", "three", "four"), keys);
414 assertEquals(Sets.newHashSet(1, 2, 3, 4), values);
ImmutableMapTest.java 75 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
ImmutableSortedMapTest.java 75 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
76 assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
SetsTest.java 20 import static com.google.common.collect.Sets.newEnumSet;
21 import static com.google.common.collect.Sets.newHashSet;
22 import static com.google.common.collect.Sets.newLinkedHashSet;
23 import static com.google.common.collect.Sets.powerSet;
58 * Unit test for {@code Sets}.
92 Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
107 = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
111 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
115 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
148 HashSet<Integer> set = Sets.newHashSet()
    [all...]
  /external/llvm/lib/Target/AMDGPU/
SIRegisterInfo.cpp 152 const int *Sets = getRegClassPressureSets(RC);
153 assert(Sets);
154 for (unsigned i = 0; Sets[i] != -1; ++i) {
155 if (Sets[i] == (int)Idx)
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
MultiSelectManager_SelectionTest.java 23 import com.google.common.collect.Sets;
115 testSelection.intersect(Sets.newHashSet("foo"));
134 Set<String> set = Sets.newHashSet(ids1);
149 testSelection.intersect(Sets.newHashSet(ids1));
168 testSelection.intersect(Sets.newHashSet(ids1));
  /packages/apps/Contacts/tests/src/com/android/contacts/editor/
ContactEditorUtilsTest.java 26 import com.google.common.collect.Sets;
94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types));
100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType),
101 Sets.newHashSet(types));
108 Sets.newHashSet(TYPE1.accountType, TYPE2.accountType, TYPE2EX.accountType),
109 Sets.newHashSet(types));
130 Sets.newHashSet(mAccountTypes.mAccounts),
138 Sets.newHashSet(mAccountTypes.mAccounts),
146 Sets.newHashSet(mAccountTypes.mAccounts)
    [all...]

Completed in 651 milliseconds

1 2 3 4 5 6