HomeSort by relevance Sort by last modified time
    Searched refs:Collection (Results 251 - 275 of 1017) sorted by null

<<11121314151617181920>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListEqualsTester.java 26 import java.util.Collection;
66 collection = getSubjectGenerator().create(elements.toArray());
75 Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
81 Collection<E> moreElements = getSampleElements(getNumElements() + 1);
  /external/guava/guava-tests/test/com/google/common/collect/
LinkedHashMultimapTest.java 31 import java.util.Collection;
104 Iterator<Map.Entry<String, Collection<Integer>>> collectionIterator =
106 Map.Entry<String, Collection<Integer>> entry = collectionIterator.next();
322 Set<Entry<String, Collection<Integer>>> set = newLinkedHashSet(asList(
324 (Collection<Integer>) Sets.newHashSet(2, 3, 6)),
326 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)),
328 (Collection<Integer>) Sets.newHashSet(7, 8)),
330 (Collection<Integer>) Sets.newHashSet(9)),
332 (Collection<Integer>) Sets.newHashSet(12, 13, 14))
334 new IteratorTester<Entry<String, Collection<Integer>>>(6, MODIFIABLE, set
    [all...]
MapsTransformValuesUnmodifiableIteratorTest.java 24 import java.util.Collection;
65 @Override public boolean removeAll(Collection<?> c) {
68 @Override public boolean retainAll(Collection<?> c) {
74 @Override public Collection<V> values() {
76 @Override protected Collection<V> delegate() {
82 @Override public boolean removeAll(Collection<?> c) {
85 @Override public boolean retainAll(Collection<?> c) {
99 @Override public boolean removeAll(Collection<?> c) {
102 @Override public boolean retainAll(Collection<?> c) {
142 Collection<?> expectedValues = expected.values()
    [all...]
LinkedListMultimapTest.java 34 import java.util.Collection;
126 Collection<Integer> foos = map.get("foo");
196 Collection<Integer> values = map.values();
267 Iterator<Map.Entry<String, Collection<Integer>>> entries
269 Map.Entry<String, Collection<Integer>> entry = entries.next();
291 Collection<Map.Entry<String, Integer>> entries = multimap.entries();
309 Collection<Map.Entry<String, Integer>> entries = multimap.entries();
437 Set<Entry<String, Collection<Integer>>> set = Sets.newLinkedHashSet(asList(
439 (Collection<Integer>) asList(2, 3, 6)),
441 (Collection<Integer>) asList(4, 5, 10, 11))
    [all...]
Collections2Test.java 39 import java.util.Collection;
89 @Override public Collection<String> create(String[] elements) {
111 @Override public Collection<String> create(String[] elements) {
131 @Override public Collection<String> create(String[] elements) {
153 @Override public Collection<String> create(String[] elements) {
175 @Override public Collection<String> create(String[] elements) {
200 Collection<String> filtered
221 Collection<String> filtered
270 Collection<String> filtered
290 Collection<String> filtered = Collections2.filter
    [all...]
  /external/objenesis/tck/test/org/objenesis/tck/
ObjenesisTest.java 21 import java.util.Collection;
48 public void startTests(String platformDescription, Collection allCandidates,
49 Collection allInstantiators) {
  /external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
MacroGroup.java 23 import java.util.Collection;
53 Collection<Macro> col = Collections.unmodifiableList(macros);
77 Collection<MacroGroup> col = Collections.unmodifiableList(macroGroups);
  /libcore/luni/src/main/java/java/security/cert/
CertStore.java 25 import java.util.Collection;
238 public final Collection<? extends Certificate> getCertificates(CertSelector selector)
255 public final Collection<? extends CRL> getCRLs(CRLSelector selector)
CertificateFactory.java 25 import java.util.Collection;
261 * Generates and initializes a collection of (unrelated) certificates from
266 * collection.
267 * @return an initialized collection of certificates.
271 public final Collection<? extends Certificate> generateCertificates(InputStream inStream)
291 * Generates and initializes a collection of <i>Certificate Revocation
296 * @return an initialized collection of CRLs.
300 public final Collection<? extends CRL> generateCRLs(InputStream inStream)
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ListSuggestionCursor.java 25 import java.util.Collection;
143 public Collection<String> getExtraColumns() {
148 Collection<String> extraColumns = extras == null ? null
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CollectionUtils.java 23 import java.util.Collection;
77 public static <E> ArrayList<E> newArrayList(final Collection<E> collection) {
78 return new ArrayList<E>(collection);
90 final Collection<E> collection) {
91 return new CopyOnWriteArrayList<E>(collection);
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
StockSource.java 23 import java.util.Collection;
66 public Collection<AlbumData> findAlbums() {
75 protected Collection<ImageData> findImages(int howMany) {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
CtsTest.java 56 import java.util.Collection;
94 private Collection<String> mPackageNames = new ArrayList<String>();
97 private Collection<String> mExcludedPackageNames = new ArrayList<String>();
173 private final Collection<TestIdentifier> mKnownTests;
177 Collection<TestIdentifier> knownTests) {
187 Collection<TestIdentifier> getKnownTests() {
424 Collection<String> prerequisiteApks = getPrerequisiteApks(mRemainingTestPkgs);
425 Collection<String> uninstallPackages = getPrerequisitePackageNames(mRemainingTestPkgs);
551 Collection<ITestPackageDef> testPkgDefs = getTestPackagesToRun(testRepo);
578 Collection<TestIdentifier> knownTests = testPkgDef.getTests()
    [all...]
  /external/guava/guava/src/com/google/common/collect/
AbstractMultiset.java 25 import java.util.Collection;
116 @Override public boolean addAll(Collection<? extends E> elementsToAdd) {
120 @Override public boolean removeAll(Collection<?> elementsToRemove) {
124 @Override public boolean retainAll(Collection<?> elementsToRetain) {
ForwardingMultiset.java 23 import java.util.Collection;
43 * <p>The {@code standard} methods and any collection views they return are not
158 * A sensible definition of {@link #addAll(Collection)} in terms of {@link
160 * these methods, you may wish to override {@link #addAll(Collection)} to
166 Collection<? extends E> elementsToAdd) {
191 Collection<?> elementsToRemove) {
204 Collection<?> elementsToRetain) {
ImmutableMultimap.java 27 import java.util.Collection;
124 super(new LinkedHashMap<K, Collection<V>>());
126 @Override Collection<V> createCollection() {
140 super(new TreeMap<K, Collection<V>>(keyComparator));
143 @Override Collection<V> createCollection() {
197 * Stores a collection of values with the same key in the built multimap.
204 Collection<V> valueList = builderMultimap.get(checkNotNull(key));
231 for (Entry<? extends K, ? extends Collection<? extends V>> entry
266 for (Collection<V> values : builderMultimap.asMap().values()) {
356 * Returns an immutable collection of the values for the given key. If n
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MapGenerators.java 32 import java.util.Collection;
66 public Collection<String> create(Object... elements) {
86 extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> {
88 @Override public Collection<UnhashableObject> create(
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Caps.java 41 import java.util.Collection;
239 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }.
243 public static boolean supports(Collection<Caps> caps, Texture tex){
276 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }.
280 public static boolean supports(Collection<Caps> caps, FrameBuffer fb){
330 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }.
334 public static boolean supports(Collection<Caps> caps, Shader shader){
  /libcore/luni/src/main/java/java/util/
AbstractSet.java 86 * Removes all occurrences in this collection which are contained in the
87 * specified collection.
89 * @param collection
90 * the collection of objects to remove.
91 * @return {@code true} if this collection was modified, {@code false}
94 * if removing from this collection is not supported.
97 public boolean removeAll(Collection<?> collection) {
99 if (size() <= collection.size()) {
102 if (collection.contains(it.next()))
    [all...]
LinkedHashSet.java 73 * elements in the specified collection.
75 * @param collection
76 * the collection of elements to add.
78 public LinkedHashSet(Collection<? extends E> collection) {
79 super(new LinkedHashMap<E, HashSet<E>>(collection.size() < 6 ? 11
80 : collection.size() * 2));
81 for (E e : collection) {
Map.java 233 * Returns a {@code Collection} of the values contained in this {@code Map}. The {@code Collection}
235 * {@code Collection} supports {@link Collection#remove}, {@link Collection#removeAll},
236 * {@link Collection#retainAll}, and {@link Collection#clear} operations,
237 * and it does not support {@link Collection#add} or {@link Collection#addAll} operations.
239 * This method returns a {@code Collection} which is the subclass o
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationPositionTracker.java 26 import java.util.Collection;
81 private Conversation getNewer(Collection<Conversation> victims) {
103 private Conversation getOlder(Collection<Conversation> victims) {
228 public Conversation getNextConversation(int autoAdvance, Collection<Conversation> mTarget) {
FolderSelectionDialog.java 37 import java.util.Collection;
46 protected final Collection<Conversation> mTarget;
54 final ConversationUpdater updater, final Collection<Conversation> target,
86 final ConversationUpdater updater, final Collection<Conversation> target,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeOverlay.java 28 import java.util.Collection;
76 Collection<Rectangle> masks = subtractRectangles(whole, includedBounds);
94 * Given a Rectangle, remove holes from it (specified as a collection of Rectangles) such
102 static Collection<Rectangle> subtractRectangles(
103 Rectangle rectangle, Collection<Rectangle> holes) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMultimap.java 26 import java.util.Collection;
123 super(new LinkedHashMap<K, Collection<V>>());
125 @Override Collection<V> createCollection() {
139 super(new TreeMap<K, Collection<V>>(keyComparator));
142 @Override Collection<V> createCollection() {
196 * Stores a collection of values with the same key in the built multimap.
203 Collection<V> valueList = builderMultimap.get(checkNotNull(key));
230 for (Entry<? extends K, ? extends Collection<? extends V>> entry
265 for (Collection<V> values : builderMultimap.asMap().values()) {
346 * Returns an immutable collection of the values for the given key. If n
    [all...]

Completed in 6482 milliseconds

<<11121314151617181920>>