Searched refs:Collection (Results 176 - 200 of 407) sorted by relevance

1234567891011>>

/external/guava/guava/src/com/google/common/collect/
H A DForwardingList.java22 import java.util.Collection;
70 public boolean addAll(int index, Collection<? extends E> elements) {
136 * A sensible default implementation of {@link #addAll(int, Collection)}, in
139 * #addAll(int, Collection)} to forward to this implementation.
H A DForwardingTable.java22 import java.util.Collection;
135 public Collection<V> values() {
H A DImmutableSet.java27 import java.util.Collection;
271 return (elements instanceof Collection)
320 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
333 Collection<? extends E> collection) {
344 // as specified by Collection.toArray().
420 @Override public boolean containsAll(Collection<?> targets) {
600 if (elements instanceof Collection) {
601 Collection<?> collection = (Collection<?>) elements;
H A DSortedMultiset.java22 import java.util.Collection;
36 * resulting multiset will violate the {@link Collection} contract, which it is
H A DMaps.java40 import java.util.Collection;
764 private final Collection<Entry<K, V>> entries;
766 UnmodifiableEntries(Collection<Entry<K, V>> entries) {
770 @Override protected Collection<Entry<K, V>> delegate() {
798 Collection<? extends Entry<K, V>> collection) {
810 @Override public boolean removeAll(Collection<?> collection) {
814 @Override public boolean retainAll(Collection<?> collection) {
1230 Collection<V2> values;
1232 @Override public Collection<V2> values() {
1233 Collection<V
[all...]
H A DAbstractBiMap.java30 import java.util.Collection;
185 @Override public boolean removeAll(Collection<?> keysToRemove) {
189 @Override public boolean retainAll(Collection<?> keysToRetain) {
360 @Override public boolean containsAll(Collection<?> c) {
363 @Override public boolean removeAll(Collection<?> c) {
366 @Override public boolean retainAll(Collection<?> c) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionContainsAllTester.java29 import java.util.Collection;
94 Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE);
/external/guava/guava-tests/test/com/google/common/collect/
H A DEnumMultisetTest.java27 import java.util.Collection;
61 Collection<Color> empty = EnumSet.noneOf(Color.class);
H A DConstraintsTest.java29 import java.util.Collection;
76 Collection<String> collection = Lists.newArrayList("foo", "bar");
77 Collection<String> constrained = Constraints.constrainedCollection(
82 /* equals and hashCode aren't defined for Collection */
88 Collection<String> collection = Lists.newArrayList("foo", "bar");
89 Collection<String> constrained = Constraints.constrainedCollection(
311 Collection<String> onceIterable = onceIterableCollection("baz");
325 static <E> Collection<E> onceIterableCollection(final E element) {
H A DImmutableListTest.java52 import java.util.Collection;
283 Collection<String> c = MinimalCollection.<String>of();
289 Collection<String> c = MinimalCollection.of("a");
295 Collection<String> c = MinimalCollection.of("a", "b", "a");
305 Collection<String> c = MinimalCollection.of("a", null, "b");
352 Collection<String> misleading =
385 Collection<String> c = ImmutableList.of();
390 Collection<String> c = ImmutableList.of("a");
395 Collection<String> c = ImmutableList.of("a", "b", "c");
405 Collection<Intege
[all...]
H A DTreeMultimapNaturalTest.java31 import java.util.Collection;
98 Iterator<Map.Entry<String, Collection<Integer>>> iterator =
100 Map.Entry<String, Collection<Integer>> entry = iterator.next();
417 Set<Entry<String, Collection<Integer>>> set = Sets.newTreeSet(
426 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)),
428 (Collection<Integer>) Sets.newHashSet(7, 8)),
430 (Collection<Integer>) Sets.newHashSet(12, 13, 14)),
432 (Collection<Integer>) Sets.newHashSet(9)),
434 (Collection<Integer>) Sets.newHashSet(2, 3, 6))
437 new IteratorTester<Entry<String, Collection<Intege
[all...]
/external/jmdns/src/javax/jmdns/
H A DJmDNS.java10 import java.util.Collection;
35 public void cannotRecoverFromIOError(JmDNS dns, Collection<ServiceInfo> infos);
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
H A DCachedOggStream.java42 import java.util.Collection;
87 public Collection<LogicalOggStream> getLogicalStreams() {
/external/junit/src/org/junit/runner/
H A DDescription.java7 import java.util.Collection;
194 public Collection<Annotation> getAnnotations() {
/external/oauth/core/src/main/java/net/oauth/client/
H A DURLConnectionClient.java25 import java.util.Collection;
48 final Collection<Map.Entry<String, String>> addHeaders = request.headers;
H A DOAuthClient.java25 import java.util.Collection;
138 Collection<? extends Map.Entry> parameters) throws IOException,
184 Collection<? extends Map.Entry> parameters) throws IOException, OAuthException, URISyntaxException {
215 String url, Collection<? extends Map.Entry> parameters)
250 Collection<? extends Map.Entry> parameters) throws IOException,
/external/guava/guava/src/com/google/common/eventbus/
H A DEventBus.java33 import java.util.Collection;
115 Multimaps.newSetMultimap(new ConcurrentHashMap<Class<?>, Collection<EventHandler>>(),
222 for (Entry<Class<?>, Collection<EventHandler>> entry : methodsInListener.asMap().entrySet()) {
224 Collection<EventHandler> eventMethodsInListener = entry.getValue();
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactory_ImplTest.java33 import java.util.Collection;
264 Collection crls = factory.generateCRLs(bais);
339 private void verifyCRLs(Collection crls) throws Exception {
348 private void verifyCertificates(Collection certs) throws Exception {
446 Collection crls =
545 Collection certs =
565 Collection crls = factory.generateCRLs(bais);
577 Collection certs = factory.generateCertificates(bais);
736 Collection certs = factory.generateCertificates(bais);
760 Collection certPat
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPHeaderList.java519 public boolean addAll(Collection<? extends HDR> collection) {
523 public boolean addAll(int index, Collection<? extends HDR> collection) {
528 public boolean containsAll(Collection<?> collection) {
613 * @see List#removeAll(java.util.Collection)
615 public boolean removeAll(java.util.Collection<?> collection) {
621 * @see List#retainAll(java.util.Collection)
624 public boolean retainAll(java.util.Collection<?> collection) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DMaps.java39 import java.util.Collection;
735 private final Collection<Entry<K, V>> entries;
737 UnmodifiableEntries(Collection<Entry<K, V>> entries) {
741 @Override protected Collection<Entry<K, V>> delegate() {
769 Collection<? extends Entry<K, V>> collection) {
781 @Override public boolean removeAll(Collection<?> collection) {
785 @Override public boolean retainAll(Collection<?> collection) {
1201 Collection<V2> values;
1203 @Override public Collection<V2> values() {
1204 Collection<V
[all...]
H A DImmutableList.java25 import java.util.Collection;
148 return (elements instanceof Collection)
149 ? copyOf((Collection<? extends E>) elements)
157 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
176 Collection<? extends E> collection) {
228 public final boolean addAll(int index, Collection<? extends E> newElements) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DMapTestSuiteBuilder.java40 import java.util.Collection;
245 Collection<Map.Entry<K, V>> originalEntries =
249 Collection<Map.Entry<K, V>> entries =
301 public Collection<V> create(Object... elements) {
306 Collection<Map.Entry<K, V>> originalEntries =
310 Collection<Map.Entry<K, V>> entries =
/external/android-mock/src/com/google/android/testing/mocking/
H A DAndroidFrameworkMockGenerator.java25 import java.util.Collection;
105 List<Class<?>> getClassList(Collection<JarEntry> jarEntries) throws ClassNotFoundException {
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DConcurrentModTest.java22 import java.util.Collection;
173 // illegal call the subList's method addAll(int,Collection).
174 Collection c = new Vector();
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DClassDefsSection.java27 import java.util.Collection;
57 public Collection<? extends Item> items() {

Completed in 374 milliseconds

1234567891011>>