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

1 2 34 5 6 7 8 91011>>

  /libcore/dom/src/test/java/org/w3c/domts/
DOMTestFramework.java 15 import java.util.Collection;
60 NodeList collection);
66 NamedNodeMap collection);
72 Collection collection);
83 Collection expected,
84 Collection actual);
119 Collection expected,
120 Collection actual);
156 boolean equalsIgnoreCase(Collection expected, Collection actual)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
MapConstraints.java 24 import java.util.Collection;
201 * with the constraint, and the collection returned by {@link Entry#getValue}
208 private static <K, V> Entry<K, Collection<V>> constrainedAsMapEntry(
209 final Entry<K, Collection<V>> entry,
213 return new ForwardingMapEntry<K, Collection<V>>() {
214 @Override protected Entry<K, Collection<V>> delegate() {
217 @Override public Collection<V> getValue() {
233 * be verified with the constraint, and the collection returned by {@link
242 private static <K, V> Set<Entry<K, Collection<V>>> constrainedAsMapEntries(
243 Set<Entry<K, Collection<V>>> entries
    [all...]
AbstractSortedSetMultimap.java 21 import java.util.Collection;
44 protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
53 * Returns a collection view of all values associated with a key. If no
54 * mappings in the multimap have the provided key, an empty collection is
57 * <p>Changes to the returned collection will update the underlying multimap,
62 * {@link Collection} specified in the {@link Multimap} interface.
69 * Removes all values associated with a given key. The returned collection is
74 * {@link Collection} specified in the {@link Multimap} interface.
81 * Stores a collection of values with the same key, replacing any existing
82 * values for that key. The returned collection is immutable
    [all...]
ForwardingMultimap.java 21 import java.util.Collection;
47 public Map<K, Collection<V>> asMap() {
72 public Collection<Entry<K, V>> entries() {
77 public Collection<V> get(@Nullable K key) {
117 public Collection<V> removeAll(@Nullable Object key) {
122 public Collection<V> replaceValues(K key, Iterable<? extends V> values) {
132 public Collection<V> values() {
Synchronized.java 28 import java.util.Collection;
42 * Synchronized collection views. The returned synchronized collection views are
43 * serializable if the backing collection and the mutex are serializable.
49 * <p>This class should be used by other collection classes only.
95 private static <E> Collection<E> collection( method in class:Synchronized
96 Collection<E> collection, @Nullable Object mutex) {
97 return new SynchronizedCollection<E>(collection, mutex)
    [all...]
Constraints.java 24 import java.util.Collection;
69 * Returns a constrained view of the specified collection, using the specified
70 * constraint. Any operations that add new elements to the collection will
74 * <p>The returned collection is not serializable.
76 * @param collection the collection to constrain
78 * @return a constrained view of the collection
80 public static <E> Collection<E> constrainedCollection(
81 Collection<E> collection, Constraint<? super E> constraint)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ConcurrentModificationExceptionTest.java 20 import java.util.Collection;
29 Collection col;
33 public CollectionModifier(Collection c) {
55 Collection myCollection = new LinkedList();
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
HashMultimap.java 23 import java.util.Collection;
86 super(new HashMap<K, Collection<V>>());
90 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
96 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
104 * <p>Creates an empty {@code HashSet} for a collection of values for one key.
106 * @return a new {@code HashSet} containing a collection of values for one key
ImmutableCollection.java 21 import java.util.Collection;
36 implements Collection<E>, Serializable {
79 public boolean containsAll(Collection<?> targets) {
100 public final boolean addAll(Collection<? extends E> newElements) {
104 public final boolean removeAll(Collection<?> oldElements) {
108 public final boolean retainAll(Collection<?> elementsToKeep) {
135 static <E> ImmutableCollection<E> unsafeDelegate(Collection<E> delegate) {
Synchronized.java 25 import java.util.Collection;
39 * Synchronized collection views. The returned synchronized collection views are
40 * serializable if the backing collection and the mutex are serializable.
46 * <p>This class should be used by other collection classes only.
82 private static <E> Collection<E> collection( method in class:Synchronized
83 Collection<E> collection, @Nullable Object mutex) {
84 return new SynchronizedCollection<E>(collection, mutex)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
ClusterException.java 22 import java.util.Collection;
57 * <p>See semantic details at {@link #create(Collection)}.
64 public final Collection<? extends Throwable> exceptions;
66 private ClusterException(Collection<? extends Throwable> exceptions) {
76 * @see #create(Collection)
87 * Given a collection of exceptions, returns a {@link RuntimeException}, with
97 * the first exception in the {@code exceptions} collection.
100 * <p>Though this method takes any {@link Collection}, it often makes most
101 * sense to pass a {@link java.util.List} or some other collection that
107 public static RuntimeException create(Collection<? extends Throwable> exceptions)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractMultimapAsMapImplementsMapTest.java 22 import java.util.Collection;
34 extends MapInterfaceTest<String, Collection<Integer>> {
55 @Override protected Collection<Integer> getValueNotInPopulatedMap()
63 * view collection that changes in the course of a call to {@code remove()}.
68 final Map<String, Collection<Integer>> map;
SubMapMultimapAsMapImplementsMapTest.java 22 import java.util.Collection;
49 @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
53 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
66 @Override protected Collection<Integer> getValueNotInPopulatedMap() {
AbstractCollectionTest.java 28 import java.util.Collection;
32 * Common tests for a {@code Collection}.
40 protected abstract <E> Collection<E> create();
42 protected Collection<String> c;
133 Collection<String> c2 = create();
144 Collection<String> c2 = create();
164 Collection<String> c2 = create();
179 Collection<String> c2 = create();
185 Collection<String> c3 = create();
211 protected Collection<String> createSample()
    [all...]
AbstractSetMultimapTest.java 23 import java.util.Collection;
62 Map<String, Collection<Integer>> map = multimap.asMap();
64 Map<String, Collection<Integer>> equalMap = Maps.newHashMap();
71 Map<String, Collection<Integer>> unequalMap = Maps.newHashMap();
82 Set<Map.Entry<String, Collection<Integer>>> set
85 Iterator<Map.Entry<String, Collection<Integer>>> i = set.iterator();
86 Map.Entry<String, Collection<Integer>> expected =
88 "foo", (Collection<Integer>) ImmutableSet.of(1, 3));
89 Map.Entry<String, Collection<Integer>> entry = i.next();
106 Collection<Collection<Integer>> asMapValues = multimap.asMap().values()
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
ConcurrentModificationExceptionTest.java 20 import java.util.Collection;
29 Collection col;
33 public CollectionModifier(Collection c) {
55 Collection myCollection = new LinkedList();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
CyclicDependencyValidator.java 25 import java.util.Collection;
29 private final Collection<String> mInvalidIds;
31 private CyclicDependencyValidator(Collection<String> invalid) {
61 final Collection<String> invalid =
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestFilterTest.java 23 import java.util.Collection;
49 * Test {@link TestFilter#filter(java.util.Collection)} with no rules defined
56 * Test {@link TestFilter#filter(java.util.Collection)} with an excluded test filter
60 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
68 * Test {@link TestFilter#filter(java.util.Collection)} with an excluded test filter
72 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
78 * Test {@link TestFilter#filter(java.util.Collection)} with a class inclusion rule
82 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
90 * Test {@link TestFilter#filter(java.util.Collection)} with at class
94 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalCollection.java 21 import java.util.Collection;
25 * A simplistic collection which implements only the bare minimum allowed by the
78 @Override public boolean containsAll(Collection<?> collection) {
80 for (Object object : collection) {
87 return super.containsAll(collection);
101 * a "type A" unmodifiable collection freaks out proactively, even if there
105 @Override public boolean addAll(Collection<? extends E> elementsToAdd) {
108 @Override public boolean removeAll(Collection<?> elementsToRemove) {
111 @Override public boolean retainAll(Collection<?> elementsToRetain)
    [all...]
AbstractContainerTester.java 21 import java.util.Collection;
26 * Base class for testers of classes (including {@link Collection}
51 protected abstract Collection<E> actualContents();
82 * @see #expectContents(java.util.Collection)
91 * Asserts that the collection under test contains exactly the given elements,
108 protected void expectContents(Collection<E> expected) {
117 * Asserts that the collection under test contains exactly the elements it was
119 * {@link #expectContents(java.util.Collection)}. In other words, for the
121 * of each given element has increased by one since the test collection was
126 * {@code collection} is a {@code Set}
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/
Filters.java 36 import java.util.Collection;
58 * collection and false for all other cases.
60 public static <T> Filter<T> in( Collection<? extends T> collection )
62 return new InFilter<T>(collection);
77 * collection and false for all other cases. This is the equivalent
78 * of calling not(in(collection)).
80 public static <T> Filter<T> notIn( Collection<? extends T> collection )
82 return not( in( collection ) );
130 private Collection<? extends T> collection; field in class:Filters.InFilter
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
CopyOnWriteArraySet.java 58 * @param <E> the type of elements held in this collection
75 * collection.
77 * @param c the collection of elements to initially contain
78 * @throws NullPointerException if the specified collection is null
80 public CopyOnWriteArraySet(Collection<? extends E> c) {
127 * <p>This method acts as bridge between array-based and collection-based
155 * array-based and collection-based APIs. Further, this method allows
224 * specified collection. If the specified collection is also a set, this
227 * @param c collection to be checked for containment in this se
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
ResultFilter.java 24 import java.util.Collection;
41 private final Map<String, Collection<TestIdentifier>> mKnownTestsMap;
42 private final Map<String, Collection<TestIdentifier>> mRemainingTestsMap;
53 mKnownTestsMap = new HashMap<String, Collection<TestIdentifier>>();
55 mRemainingTestsMap = new LinkedHashMap<String, Collection<TestIdentifier>>();
132 for (Map.Entry<String, Collection<TestIdentifier>> entry : mRemainingTestsMap.entrySet()) {
  /external/openfst/src/include/fst/extensions/pdt/
collection.h 0 // collection.h
19 // Class to store a collection of sets with elements of type T.
32 // Stores a collection of non-empty sets with elements of type T. A
38 class Collection {
81 Collection() {}
111 DISALLOW_COPY_AND_ASSIGN(Collection);
114 template<class I, class T> const I Collection<I, T>::kNoNodeId = -1;
116 template <class I, class T> const size_t Collection<I, T>::kPrime = 7853;
118 template <class I, class T> std::tr1::hash<T> Collection<I, T>::hash_;
  /frameworks/opt/vcard/java/com/android/vcard/
VCardProperty.java 22 import java.util.Collection;
65 private Map<String, Collection<String>> mParameterMap =
66 new HashMap<String, Collection<String>>();
93 Collection<String> values;
150 public Map<String, Collection<String>> getParameterMap() {
154 public Collection<String> getParameters(String type) {

Completed in 1976 milliseconds

1 2 34 5 6 7 8 91011>>