/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLSelectorTest.java | 20 import java.util.Collection; 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); 44 Collection<Object> issuers = crlSelector.getIssuerNames();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertStoreSpi.java | 33 import java.util.Collection; 51 public Collection<Certificate> engineGetCertificates(CertSelector selector) 59 public Collection<CRL> engineGetCRLs(CRLSelector selector)
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractSuggestionExtras.java | 20 import java.util.Collection; 34 public Collection<String> getExtraColumnNames() { 43 protected abstract Collection<String> doGetExtraColumnNames();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SetEqualsTester.java | 26 import java.util.Collection; 45 Collection<E> elements = getSampleElements(getNumElements() - 1); 57 Collection<E> elements = getSampleElements(getNumElements() - 1); 60 collection = getSubjectGenerator().create(elements.toArray()); 68 Collection<E> elements = getSampleElements(getNumElements() - 1); 79 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); 85 Collection<E> moreElements = getSampleElements(getNumElements() + 1);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderOperation.java | 28 import java.util.Collection; 34 public static final Collection<FolderOperation> EMPTY = Collections.emptyList(); 48 public static ArrayList<Folder> getFolders(Collection<FolderOperation> ops) { 57 * Returns a collection of a single FolderOperation. This method always 58 * returns a valid collection even if the input folder is null. 61 * @return a collection of the folder. 63 public static Collection<FolderOperation> listOf(FolderOperation in) { 64 final Collection<FolderOperation> target = (in == null) ? EMPTY : ImmutableList.of(in); 72 public static boolean isDestructive(Collection<FolderOperation> folderOps, Folder folder) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
HeaderSection.java | 21 import java.util.Collection; 54 public Collection<? extends Item> items() {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderSection.java | 20 import java.util.Collection; 53 public Collection<? extends Item> items() {
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
AnimatorPath.java | 19 import java.util.Collection; 62 * Returns a Collection of PathPoint objects that describe all points in the path. 64 public Collection<PathPoint> getPoints() {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
HeaderSection.java | 21 import java.util.Collection; 54 public Collection<? extends Item> items() {
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
ReturnsElementsOf.java | 11 import java.util.Collection;
15 * Returns elements of the collection. Keeps returning the last element forever.
16 * Might be useful on occasion when you have a collection of elements to return.
28 * {@link org.mockito.AdditionalAnswers#returnsElementsOf(java.util.Collection)}
37 public ReturnsElementsOf(Collection<?> elements) {
40 "Please pass a collection instance");
|
/external/mockito/src/org/mockito/internal/util/collections/ |
ListUtil.java | 8 import java.util.Collection; 13 public static <T> LinkedList<T> filter(Collection<T> collection, Filter<T> filter) { 15 for (T t : collection) {
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
HeadersProvider.java | 16 import java.util.Collection;
34 return new HeadersExtension((Collection<Header>)content);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
AnnotationSection.java | 35 import java.util.Collection; 41 @Nonnull Collection<? extends AnnotationElement> getElements(@Nonnull AnnotationKey key);
|
/external/smali/util/src/main/java/org/jf/util/ |
CollectionUtils.java | 63 public static <T extends Comparable<? super T>> int compareAsList(@Nonnull Collection<? extends T> list1, 64 @Nonnull Collection<? extends T> list2) { 115 @Nonnull Collection<? extends T> list1, 116 @Nonnull Collection<? extends T> list2) { 128 public static <T> Comparator<Collection<? extends T>> listComparator( 130 return new Comparator<Collection<? extends T>>() { 132 public int compare(Collection<? extends T> list1, Collection<? extends T> list2) { 161 private static <T> SortedSet<? extends T> toNaturalSortedSet(@Nonnull Collection<? extends T> collection) { [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionViewFactory.java | 25 import java.util.Collection; 39 Collection<String> getSuggestionViewTypes();
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionExtras.java | 18 import java.util.Collection; 45 public Collection<String> doGetExtraColumnNames() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
EmptyLaunchAction.java | 21 import java.util.Collection; 28 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) {
|
/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...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
InMatcher.java | 24 import java.util.Collection; 28 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array. 32 protected Collection<T> mValues; 34 public InMatcher(Collection<T> values) { 67 public static <T> Matcher<T> in(Collection<T> operand) {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/ |
JcaCertStore.java | 7 import java.util.Collection; 26 * @param collection - initial contents for the store, this is copied. 28 public JcaCertStore(Collection collection) 31 super(convertCerts(collection)); 34 private static Collection convertCerts(Collection collection) 37 List list = new ArrayList(collection.size()); 39 for (Iterator it = collection.iterator(); it.hasNext(); [all...] |
/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
|
/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;
|