HomeSort by relevance Sort by last modified time
    Searched refs:Collection (Results 126 - 150 of 889) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/tools/layoutlib/create/tests/mock_android/dummy/
InnerTest.java 20 import java.util.Collection;
78 public <T extends InnerTest> void genericMethod4(T[] a, Collection<T> b, Collection<?> c) {
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTestInnerClass.java 15 import java.util.Collection;
61 public void assertSize(String assertID, int expectedSize, NodeList collection) {
62 test.assertSize(assertID, expectedSize, collection);
66 NamedNodeMap collection) {
67 test.assertSize(assertID, expectedSize, collection);
71 Collection collection) {
72 test.assertSize(assertID, expectedSize, collection);
80 public void assertEqualsIgnoreCase(String assertID, Collection expected,
81 Collection actual)
    [all...]
DOMTestCase.java 18 import java.util.Collection;
232 * Asserts that the length of the collection is the expected size.
238 * @param collection
239 * collection
244 NodeList collection) {
245 framework.assertSize(this, assertID, expectedSize, collection);
249 * Asserts that the length of the collection is the expected size.
255 * @param collection
256 * collection
261 NamedNodeMap collection) {
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_elementretrieveallattributes.java 67 java.util.Collection actual = new java.util.ArrayList();
69 java.util.Collection htmlExpected = new java.util.ArrayList();
72 java.util.Collection expected = new java.util.ArrayList();
hc_namednodemapreturnfirstitem.java 71 java.util.Collection htmlExpected = new java.util.ArrayList();
75 java.util.Collection expected = new java.util.ArrayList();
80 java.util.Collection actual = new java.util.ArrayList();
hc_namednodemapreturnlastitem.java 73 java.util.Collection htmlExpected = new java.util.ArrayList();
77 java.util.Collection expected = new java.util.ArrayList();
82 java.util.Collection actual = new java.util.ArrayList();
hc_nodecloneattributescopied.java 69 java.util.Collection result = new java.util.ArrayList();
71 java.util.Collection htmlExpected = new java.util.ArrayList();
75 java.util.Collection expected = new java.util.ArrayList();
hc_nodeelementnodeattributes.java 66 java.util.Collection attrList = new java.util.ArrayList();
68 java.util.Collection htmlExpected = new java.util.ArrayList();
72 java.util.Collection expected = new java.util.ArrayList();
  /libcore/luni/src/main/java/java/security/cert/
X509Certificate.java 23 import java.util.Collection;
402 public Collection<List<?>> getSubjectAlternativeNames()
436 public Collection<List<?>> getIssuerAlternativeNames()
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
JsonBackedSuggestionExtras.java 24 import java.util.Collection;
34 private final Collection<String> mColumns;
67 public Collection<String> getExtraColumnNames() {
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockShortcutRepository.java 21 import java.util.Collection;
45 public void getShortcutsForQuery(String query, Collection<Corpus> corporaToQuery,
54 public ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> corporaToQuery) {
  /frameworks/base/core/java/android/net/
LinkProperties.java 27 import java.util.Collection;
55 private Collection<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>();
56 private Collection<InetAddress> mDnses = new ArrayList<InetAddress>();
57 private Collection<RouteInfo> mRoutes = new ArrayList<RouteInfo>();
61 public Collection<T> removed = new ArrayList<T>();
62 public Collection<T> added = new ArrayList<T>();
99 public Collection<InetAddress> getAddresses() {
100 Collection<InetAddress> addresses = new ArrayList<InetAddress>();
111 public Collection<LinkAddress> getLinkAddresses() {
119 public Collection<InetAddress> getDnses()
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/extension/
X509ExtensionUtil.java 7 import java.util.Collection;
34 public static Collection getIssuerAlternativeNames(X509Certificate cert)
42 public static Collection getSubjectAlternativeNames(X509Certificate cert)
50 private static Collection getAlternativeNames(byte[] extVal)
59 Collection temp = new ArrayList();
  /external/guava/guava/src/com/google/common/collect/
ArrayListMultimap.java 29 import java.util.Collection;
103 super(new HashMap<K, Collection<V>>());
108 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
122 * Creates a new, empty {@code ArrayList} to hold the collection of values for
133 for (Collection<V> collection : backingMap().values()) {
134 ArrayList<V> arrayList = (ArrayList<V>) collection;
157 Map<K, Collection<V>> map = Maps.newHashMapWithExpectedSize(distinctKeys);
HashMultimap.java 27 import java.util.Collection;
91 super(new HashMap<K, Collection<V>>());
95 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
101 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
109 * <p>Creates an empty {@code HashSet} for a collection of values for one key.
111 * @return a new {@code HashSet} containing a collection of values for one key
135 Map<K, Collection<V>> map = Maps.newHashMapWithExpectedSize(distinctKeys);
Queues.java 21 import java.util.Collection;
77 if (elements instanceof Collection) {
116 if (elements instanceof Collection) {
145 if (elements instanceof Collection) {
171 if (elements instanceof Collection) {
191 * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested
203 public static <E> int drain(BlockingQueue<E> q, Collection<? super E> buffer, int numElements,
230 * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, long, TimeUnit)},
242 public static <E> int drainUninterruptibly(BlockingQueue<E> q, Collection<? super E> buffer,
LinkedHashMultimap.java 28 import java.util.Collection;
83 transient Collection<Map.Entry<K, V>> linkedEntries;
122 super(new LinkedHashMap<K, Collection<V>>());
127 super(new LinkedHashMap<K, Collection<V>>(expectedKeys));
136 super(new LinkedHashMap<K, Collection<V>>(
146 * <p>Creates an empty {@code LinkedHashSet} for a collection of values for
149 * @return a new {@code LinkedHashSet} containing a collection of values for
162 * @param key key to associate with values in the collection
163 * @return a new decorated {@code LinkedHashSet} containing a collection of
166 @Override Collection<V> createCollection(@Nullable K key)
    [all...]
Iterables.java 32 import java.util.Collection;
108 return (iterable instanceof Collection)
109 ? ((Collection<?>) iterable).size()
119 if (iterable instanceof Collection) {
120 Collection<?> collection = (Collection<?>) iterable; local
122 return collection.contains(element);
134 * collection.
136 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is
293 Collection<? extends T> collection = toCollection(iterable); local
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
ForwardingExecutorService.java 21 import java.util.Collection;
55 Collection<? extends Callable<T>> tasks) throws InterruptedException {
61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
67 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
CollectionSerializer.java 40 import java.util.Collection;
55 Collection collection; local
57 collection = (Collection)c.newInstance();
59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList.");
60 collection = new ArrayList(length);
63 if (length == 0) return (T)collection;
71 collection.add(serializer.readObject(data, clazz));
75 collection.add(Serializer.readClassAndObject(data))
82 Collection collection = (Collection)object; local
    [all...]
  /libcore/luni/src/main/java/java/util/
AbstractCollection.java 24 * Collection} interface. A subclass must implement the abstract methods {@code
25 * iterator()} and {@code size()} to create an immutable collection. To create a
26 * modifiable collection it's necessary to override the {@code add()} method that
31 public abstract class AbstractCollection<E> implements Collection<E> {
44 * Attempts to add all of the objects contained in {@code collection}
45 * to the contents of this {@code Collection} (optional). This implementation
46 * iterates over the given {@code Collection} and calls {@code add} for each
49 * {@code Collection} does not support adding elements, an {@code
52 * If the passed {@code Collection} is changed during the process of adding elements
53 * to this {@code Collection}, the behavior depends on the behavior of the passe
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestsForListsInJavaUtil.java 31 import java.util.Collection;
65 protected Collection<Method> suppressForEmptyList() {
68 protected Collection<Method> suppressForSingletonList() {
71 protected Collection<Method> suppressForArraysAsList() {
74 protected Collection<Method> suppressForArrayList() {
77 protected Collection<Method> suppressForLinkedList() {
80 protected Collection<Method> suppressForCopyOnWriteArrayList() {
83 protected Collection<Method> suppressForUnmodifiableList() {
86 protected Collection<Method> suppressForCheckedList() {
89 protected Collection<Method> suppressForAbstractList()
    [all...]
TestsForQueuesInJavaUtil.java 26 import java.util.Collection;
59 protected Collection<Method> suppressForLinkedList() {
62 protected Collection<Method> suppressForArrayBlockingQueue() {
65 protected Collection<Method> suppressForConcurrentLinkedQueue() {
68 protected Collection<Method> suppressForLinkedBlockingQueue() {
71 protected Collection<Method> suppressForPriorityBlockingQueue() {
74 protected Collection<Method> suppressForPriorityQueue() {
  /sdk/monkeyrunner/src/com/android/monkeyrunner/
MonkeyRunnerOptions.java 21 import java.util.Collection;
34 private final Collection<File> plugins;
35 private final Collection<String> arguments;
39 Level logLevel, Collection<File> plugins, Collection<String> arguments) {
65 public Collection<File> getPlugins() {
69 public Collection<String> getArguments() {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Iterables.java 31 import java.util.Collection;
105 return (iterable instanceof Collection)
106 ? ((Collection<?>) iterable).size()
116 if (iterable instanceof Collection) {
117 Collection<?> collection = (Collection<?>) iterable; local
119 return collection.contains(element);
131 * collection.
133 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is
    [all...]

Completed in 372 milliseconds

1 2 3 4 56 7 8 91011>>