Searched refs:powerSet (Results 1 – 10 of 10) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | SetsTest.java | 23 import static com.google.common.collect.Sets.powerSet; 482 Set<Set<Integer>> powerSet = powerSet(elements); in testPowerSetEmpty() local 483 assertEquals(1, powerSet.size()); in testPowerSetEmpty() 484 assertEquals(ImmutableSet.of(ImmutableSet.of()), powerSet); in testPowerSetEmpty() local 485 assertEquals(0, powerSet.hashCode()); in testPowerSetEmpty() 490 Set<Set<Integer>> powerSet = powerSet(elements); in testPowerSetContents() local 491 assertEquals(8, powerSet.size()); in testPowerSetContents() 492 assertEquals(4 * 1 + 4 * 2 + 4 * 3, powerSet.hashCode()); in testPowerSetContents() 509 .addEqualityGroup(expected, powerSet) in testPowerSetContents() 515 assertTrue(powerSet.contains(subset)); in testPowerSetContents() [all …]
|
D | ContiguousSetTest.java | 207 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { in testContainsAll() 210 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { in testContainsAll()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SetsTest.java | 23 import static com.google.common.collect.Sets.powerSet; 728 Set<Set<Integer>> powerSet = powerSet(elements); 729 assertEquals(1, powerSet.size()); 730 assertEquals(ImmutableSet.of(ImmutableSet.of()), powerSet); 731 assertEquals(0, powerSet.hashCode()); 736 Set<Set<Integer>> powerSet = powerSet(elements); 737 assertEquals(8, powerSet.size()); 738 assertEquals(4 * 1 + 4 * 2 + 4 * 3, powerSet.hashCode()); 755 .addEqualityGroup(expected, powerSet) 761 assertTrue(powerSet.contains(subset)); [all …]
|
D | ContiguousSetTest.java | 232 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { in testContainsAll() 235 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { in testContainsAll()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | PowerSetBenchmark.java | 35 Set<Set<Integer>> powerSet; field in PowerSetBenchmark 39 powerSet = Sets.powerSet(set); in setUp() 45 for (Set<Integer> subset : powerSet) { in iteration()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Sets.java | 1069 public static <E> Set<Set<E>> powerSet(Set<E> set) {
|
/external/guava/guava/src/com/google/common/collect/ |
D | Sets.java | 1202 public static <E> Set<Set<E>> powerSet(Set<E> set) {
|
/external/vogar/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |