Searched refs:Collection (Results 76 - 100 of 407) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/collect/
H A DForMapMultimapAsMapImplementsMapTest.java22 import java.util.Collection;
39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
H A DMultimapsFilterEntriesAsMapTest.java22 import java.util.Collection;
53 @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
58 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
H A DForwardingMultisetTest.java30 import java.util.Collection;
55 @Override public boolean addAll(Collection<? extends T> collection) {
75 @Override public boolean containsAll(Collection<?> collection) {
83 @Override public boolean removeAll(Collection<?> collection) {
87 @Override public boolean retainAll(Collection<?> collection) {
136 private static final Collection<String> EMPTY_COLLECTION =
200 Collection<? extends Entry<String>> collection) {
209 @Override public boolean containsAll(Collection<?> collection) {
218 @Override public boolean removeAll(Collection<?> collection) {
221 @Override public boolean retainAll(Collection<
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
H A DX509ExtensionUtil.java7 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/
H A DArrayListMultimap.java29 import java.util.Collection;
103 super(new HashMap<K, Collection<V>>());
108 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
133 for (Collection<V> collection : backingMap().values()) {
157 Map<K, Collection<V>> map = Maps.newHashMapWithExpectedSize(distinctKeys);
H A DHashMultimap.java27 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(
135 Map<K, Collection<V>> map = Maps.newHashMapWithExpectedSize(distinctKeys);
H A DQueues.java21 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,
H A DLinkedHashMultimap.java28 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>>(
166 @Override Collection<V> createCollection(@Nullable K key) {
187 <E> Collection<Map.Entry<K, E>> createEntries(Collection<E> values) {
189 Collection<Map.Entry<K, E>> entries
205 @Override public boolean addAll(Collection<
[all...]
H A DIterables.java32 import java.util.Collection;
108 return (iterable instanceof Collection)
109 ? ((Collection<?>) iterable).size()
119 if (iterable instanceof Collection) {
120 Collection<?> collection = (Collection<?>) iterable;
136 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a
144 Iterable<?> removeFrom, Collection<?> elementsToRemove) {
145 return (removeFrom instanceof Collection)
146 ? ((Collection<
[all...]
H A DSortedIterables.java24 import java.util.Collection;
68 public static <E> Collection<E> sortedUnique(
80 public static <E> Collection<E> sortedUnique(
100 private static <E> Collection<E> uniquifySortedArray(
122 public static <E> Collection<Multiset.Entry<E>> sortedCounts(
133 public static <E> Collection<Multiset.Entry<E>> sortedCounts(
150 Collection<E> sortedElements;
152 sortedElements = (Collection<E>) elements;
187 static <E> Collection<Multiset.Entry<E>> singletonEntries(Collection<
[all...]
H A DImmutableCollection.java22 import java.util.Collection;
30 * <p>In addition to the {@link Collection} methods, this class has an {@link
43 implements Collection<E>, Serializable {
71 public boolean containsAll(Collection<?> targets) {
110 public final boolean addAll(Collection<? extends E> newElements) {
120 public final boolean removeAll(Collection<?> oldElements) {
130 public final boolean retainAll(Collection<?> elementsToKeep) {
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingExecutorService.java21 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/
H A DCollectionSerializer.java40 import java.util.Collection;
55 Collection collection;
57 collection = (Collection)c.newInstance();
82 Collection collection = (Collection)object;
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DTestsForListsInJavaUtil.java31 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<Metho
[all...]
H A DTestsForQueuesInJavaUtil.java26 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() {
H A DOneSizeGenerator.java23 import java.util.Collection;
66 Collection<E> elements = getSampleElements(
72 public Collection<E> getSampleElements(int howMany) {
H A DTestsForSetsInJavaUtil.java28 import java.util.Collection;
70 protected Collection<Method> suppressForEmptySet() {
73 protected Collection<Method> suppressForSingletonSet() {
76 protected Collection<Method> suppressForHashSet() {
79 protected Collection<Method> suppressForLinkedHashSet() {
82 protected Collection<Method> suppressForEnumSet() {
85 protected Collection<Method> suppressForTreeSetNatural() {
88 protected Collection<Method> suppressForTreeSetWithComparator() {
91 protected Collection<Method> suppressForCopyOnWriteArraySet() {
94 protected Collection<Metho
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DIterables.java31 import java.util.Collection;
105 return (iterable instanceof Collection)
106 ? ((Collection<?>) iterable).size()
116 if (iterable instanceof Collection) {
117 Collection<?> collection = (Collection<?>) iterable;
133 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a
141 Iterable<?> removeFrom, Collection<?> elementsToRemove) {
142 return (removeFrom instanceof Collection)
143 ? ((Collection<
[all...]
H A DObjectArrays.java21 import java.util.Collection;
109 static <T> T[] toArrayImpl(Collection<?> c, T[] array) {
135 static Object[] toArrayImpl(Collection<?> c) {
/external/jmdns/src/javax/jmdns/impl/
H A DDNSMessage.java7 import java.util.Collection;
123 public Collection<? extends DNSQuestion> getQuestions() {
134 public Collection<? extends DNSRecord> getAllAnswers() {
145 public Collection<? extends DNSRecord> getAnswers() {
159 public Collection<? extends DNSRecord> getAuthorities() {
173 public Collection<? extends DNSRecord> getAdditionals() {
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificateFactorySpi.java32 import java.util.Collection;
73 public Collection engineGenerateCertificates(InputStream inStream)
88 public Collection engineGenerateCRLs(InputStream inStream)
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_UnmodifiableCollectionTest.java20 import java.util.Collection;
29 Collection<Integer> col;
38 public Support_UnmodifiableCollectionTest(String p1, Collection<Integer> c) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DCertStoreCollectionSpi.java13 import java.util.Collection;
34 public Collection engineGetCertificates(
70 public Collection engineGetCRLs(
/external/junit/src/org/junit/internal/matchers/
H A DIsCollectionContaining.java7 import java.util.Collection;
49 Collection<Matcher<? extends Iterable<T>>> all
59 Collection<Matcher<? extends Iterable<T>>> all
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
H A DAuthenticationHelper.java4 import java.util.Collection;

Completed in 1704 milliseconds

1234567891011>>