Home
last modified time | relevance | path

Searched refs:Collections2 (Results 1 – 25 of 40) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DCollections2Test.java79 Collections2.orderedPermutations(list); in testOrderedPermutationSetEmpty()
93 Collections2.orderedPermutations(list).iterator(); in testOrderedPermutationSetOneElement()
102 Collections2.orderedPermutations(list).iterator(); in testOrderedPermutationSetThreeElements()
116 Collections2.orderedPermutations(list, Ordering.natural()).iterator(); in testOrderedPermutationSetRepeatedElements()
130 Collections2.orderedPermutations(list, Ordering.natural()); in testOrderedPermutationSetRepeatedElementsSize()
137 assertEquals(479001600 /*12!*/, Collections2.orderedPermutations( in testOrderedPermutationSetSizeOverflow()
140 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( in testOrderedPermutationSetSizeOverflow()
143 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( in testOrderedPermutationSetSizeOverflow()
148 assertEquals(1391975640 /*C(34,14)*/, Collections2.orderedPermutations( in testOrderedPermutationSetSizeOverflow()
151 assertEquals(Integer.MAX_VALUE, Collections2.orderedPermutations( in testOrderedPermutationSetSizeOverflow()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DCollections2Test.java97 return Collections2.filter(unfiltered, NOT_YYY_ZZZ); in testsForFilter()
117 return Collections2.filter(unfiltered, NOT_YYY_ZZZ);
139 return Collections2.filter(unfiltered, NOT_YYY_ZZZ);
161 return Collections2.filter(unfiltered, LENGTH_1);
184 return Collections2.filter(
185 Collections2.filter(unfiltered, LENGTH_1), NOT_YYY_ZZZ);
216 return Collections2.transform(list, REMOVE_FIRST_CHAR);
231 tester.testAllPublicStaticMethods(Collections2.class);
237 Collections2.orderedPermutations(list);
251 Collections2.orderedPermutations(list).iterator();
[all …]
/external/guava/guava/src/com/google/common/collect/
DQueues.java73 return new ArrayDeque<E>(Collections2.cast(elements)); in newArrayDeque()
96 return new ConcurrentLinkedQueue<E>(Collections2.cast(elements)); in newConcurrentLinkedQueue()
133 return new LinkedBlockingDeque<E>(Collections2.cast(elements)); in newLinkedBlockingDeque()
168 return new LinkedBlockingQueue<E>(Collections2.cast(elements)); in newLinkedBlockingQueue()
200 return new PriorityBlockingQueue<E>(Collections2.cast(elements)); in newPriorityBlockingQueue()
230 return new PriorityQueue<E>(Collections2.cast(elements)); in newPriorityQueue()
DForwardingCollection.java141 return Collections2.containsAllImpl(this, collection); in standardContainsAll()
230 return Collections2.toStringImpl(this); in standardToString()
DAbstractTable.java126 return row != null && Collections2.safeContains( in contains()
137 return row != null && Collections2.safeRemove( in remove()
DConcurrentHashMultiset.java457 return object != null && Collections2.safeContains(delegate, object); in createElementSet()
466 return object != null && Collections2.safeRemove(delegate, object); in createElementSet()
DIterables.java120 return Collections2.safeContains(collection, element); in contains()
351 Collection<? extends T> c = Collections2.cast(elementsToAdd); in addAll()
808 Collection<? extends T> c = Collections2.cast(iterable);
DSets.java26 import com.google.common.collect.Collections2.FilteredCollection;
219 ? new HashSet<E>(Collections2.cast(elements)) in newHashSet()
325 return new LinkedHashSet<E>(Collections2.cast(elements)); in newLinkedHashSet()
425 ? Collections2.cast(elements) in newCopyOnWriteArraySet()
DCollections2.java56 public final class Collections2 { class
57 private Collections2() {} in Collections2() method in Collections2
DFilteredKeyMultimap.java186 return Collections2.filter(unfiltered.entries(), entryPredicate()); in delegate()
DRegularContiguousSet.java130 return Collections2.containsAllImpl(this, targets);
DLists.java145 ? new ArrayList<E>(Collections2.cast(elements)) in newArrayList()
290 ? Collections2.cast(elements) in newCopyOnWriteArrayList()
DFluentIterable.java488 collection.addAll(Collections2.cast(iterable));
DFilteredEntryMultimap.java93 return Collections2.filter(collection, predicate); in filterCollection()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DApiProvider.java29 import com.google.common.collect.Collections2;
55 Collections2.filter(FacadeConfiguration.collectMethodDescriptors(), in ApiProvider()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DJvmPlatform.java28 import com.google.common.collect.Collections2;
122 return Collections2.filter(ManagementFactory.getRuntimeMXBean().getInputArguments(), in inputArguments()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/propagation/
DTagContextSerializationTest.java22 import com.google.common.collect.Collections2;
126 Collection<List<Tag>> tagPermutation = Collections2.permutations(Arrays.asList(tags)); in testSerialize()
/external/turbine/java/com/google/turbine/deps/
DDependencies.java20 import com.google.common.collect.Collections2;
162 return Collections2.filter(transitiveClasspath, Predicates.in(reduced)); in reduceClasspath()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java118 return Collections2.safeContains(collection, element); in contains()
334 Collection<? extends T> c = Collections2.cast(elementsToAdd); in addAll()
767 Collection<? extends T> c = Collections2.cast(iterable);
DSets.java25 import com.google.common.collect.Collections2.FilteredCollection;
215 ? new HashSet<E>(Collections2.cast(elements)) in newHashSet()
321 return new LinkedHashSet<E>(Collections2.cast(elements)); in newLinkedHashSet()
DRegularContiguousSet.java111 return Collections2.containsAllImpl(this, targets); in containsAll()
DFluentIterable.java464 collection.addAll(Collections2.cast(iterable));
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DApiBrowser.java40 import com.google.common.collect.Collections2;
104 Lists.newArrayList(Collections2.filter(FacadeConfiguration.collectMethodDescriptors(), in updateAndFilterMethodDescriptors()
DScriptManager.java43 import com.google.common.collect.Collections2;
160 mScripts = Lists.newArrayList(Collections2.filter(scripts, new Predicate<File>() { in updateAndFilterScriptList()
/external/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java39 import com.google.common.collect.Collections2;
392 .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class)))) in toString()

12