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

1 2 3 4 5 67 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
SortedIterables.java 24 import java.util.Collection;
42 * Returns {@code true} if {@code elements} is a sorted collection using an ordering equivalent
64 * Returns a sorted collection of the unique elements according to the specified comparator. Does
68 public static <E> Collection<E> sortedUnique(
76 * Returns a sorted collection of the unique elements according to the specified comparator. Does
80 public static <E> Collection<E> sortedUnique(
100 private static <E> Collection<E> uniquifySortedArray(
119 * Returns a collection of multiset entries representing the counts of the distinct elements, in
122 public static <E> Collection<Multiset.Entry<E>> sortedCounts(
130 * Returns a collection of multiset entries representing the counts of the distinct elements, i
    [all...]
ImmutableCollection.java 22 import java.util.Collection;
28 * An immutable collection. Does not permit null elements.
30 * <p>In addition to the {@link Collection} methods, this class has an {@link
31 * #asList()} method, which returns a list view of the collection's elements.
43 implements Collection<E>, Serializable {
50 * Returns an unmodifiable iterator across the elements in this collection.
71 public boolean containsAll(Collection<?> targets) {
85 * Guaranteed to throw an exception and leave the collection unmodified.
95 * Guaranteed to throw an exception and leave the collection unmodified.
105 * Guaranteed to throw an exception and leave the collection unmodified
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingMultisetTest.java 30 import java.util.Collection;
55 @Override public boolean addAll(Collection<? extends T> collection) {
56 return standardAddAll(collection);
75 @Override public boolean containsAll(Collection<?> collection) {
76 return standardContainsAll(collection);
83 @Override public boolean removeAll(Collection<?> collection) {
84 return standardRemoveAll(collection);
    [all...]
AbstractMultimapTest.java 30 import java.util.Collection;
104 for (Entry<String, Collection<Integer>> entry2 :
210 Collection<Integer> values = multimap.get("bar");
217 Collection<Integer> values = multimap.get("bar");
226 Collection<Integer> values = multimap.get("foo");
235 Collection<Integer> values = multimap.get(nullKey());
265 Collection<Integer> collection = Lists.newArrayList(1, 3); local
266 multimap.putAll("foo", collection);
271 Collection<Integer> emptyCollection = Lists.newArrayList()
278 Collection<Integer> collection = Lists.newArrayList(1, nullValue()); local
279 multimap.putAll(nullKey(), collection); local
286 Collection<Integer> collection = Lists.newArrayList(); local
980 Collection<Integer> collection = Lists.newArrayList(1, 3); local
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
DNSMessage.java 7 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() {
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiClass.java 20 import java.util.Collection;
67 public Collection<ApiConstructor> getConstructors() {
86 public Collection<ApiMethod> getMethods() {
ApiPackage.java 19 import java.util.Collection;
48 public Collection<ApiClass> getClasses() {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
InstrumentationApkTest.java 28 import java.util.Collection;
41 private Collection<String> mInstallFileNames = new ArrayList<String>();
42 private Collection<String> mUninstallPackages = new ArrayList<String>();
TestFilter.java 22 import java.util.Collection;
99 public Collection<TestIdentifier> filter(Collection<TestIdentifier > tests) {
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
MyCertificateFactorySpi.java 32 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/
Support_UnmodifiableCollectionTest.java 20 import java.util.Collection;
29 Collection<Integer> col;
31 // must be a collection containing the Integers 0 to 99 (which will iterate
38 public Support_UnmodifiableCollectionTest(String p1, Collection<Integer> c) {
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
CertStoreCollectionSpi.java 13 import java.util.Collection;
34 public Collection engineGetCertificates(
70 public Collection engineGetCRLs(
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ObjectArrays.java 21 import java.util.Collection;
87 * collection; the runtime type of the returned array is that of the specified
88 * array. If the collection fits in the specified array, it is returned
90 * specified array and the size of the specified collection.
92 * <p>If the collection fits in the specified array with room to spare (i.e.,
93 * the array has more elements than the collection), the element in the array
94 * immediately following the end of the collection is set to {@code null}.
95 * This is useful in determining the length of the collection <i>only</i> if
96 * the caller knows that the collection does not contain any null elements.
99 * collection's iterator
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
OneSizeGenerator.java 23 import java.util.Collection;
27 * Generator for collection of a particular size.
66 Collection<E> elements = getSampleElements(
72 public Collection<E> getSampleElements(int howMany) {
TestsForSetsInJavaUtil.java 28 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<Method> suppressForUnmodifiableSet()
    [all...]
  /external/junit/src/org/junit/internal/matchers/
IsCollectionContaining.java 7 import java.util.Collection;
22 public boolean matchesSafely(Iterable<T> collection) {
23 for (T item : collection) {
33 .appendText("a collection containing ")
49 Collection<Matcher<? extends Iterable<T>>> all
59 Collection<Matcher<? extends Iterable<T>>> all
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
documenttypegetentities.java 68 java.util.Collection expectedResult = new java.util.ArrayList();
75 java.util.Collection expectedResultSVG = new java.util.ArrayList();
84 java.util.Collection nameList = new java.util.ArrayList();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertificateFactorySpi.java 33 import java.util.Collection;
75 public Collection engineGenerateCertificates(InputStream inStream)
91 public Collection engineGenerateCRLs(InputStream inStream)
  /libcore/support/src/test/java/tests/support/
Support_UnmodifiableCollectionTest.java 20 import java.util.Collection;
29 Collection<Integer> col;
31 // must be a collection containing the Integers 0 to 99 (which will iterate
38 public Support_UnmodifiableCollectionTest(String p1, Collection<Integer> c) {
  /development/tools/idegen/src/
Main.java 25 import java.util.Collection;
  /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
AuthenticationHelper.java 4 import java.util.Collection;
  /libcore/luni/src/main/java/java/util/
AbstractQueue.java 26 * Queue#peek}, {@link Queue#poll}, {@link Collection#size}, and
27 * {@link Collection#iterator}. Typically, additional methods will be
33 * @param <E> the type of elements held in this collection
55 * @return <tt>true</tt> (as specified by {@link Collection#add})
123 * Adds all of the elements in the specified collection to this
126 * this operation is undefined if the specified collection is
129 * <p>This implementation iterates over the specified collection,
137 * @param c collection containing elements to be added to this queue
140 * collection prevents it from being added to this queue
141 * @throws NullPointerException if the specified collection contains
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
BaseHeapPanel.java 28 import java.util.Collection;
51 Collection<HeapSegment> heapSegments;
105 * @param heapData the collection of {@link HeapSegment} that forms the heap data.
107 private void doSerializeHeapData(Collection<HeapSegment> heapData) {
153 Collection<ArrayList<HeapSegmentElement>> elementLists = mHeapMap.values();
  /libcore/luni/src/test/java/libcore/java/util/
OldCollectionsTest.java 23 import java.util.Collection;
142 * java.util.Collections#synchronizedCollection(java.util.Collection)
207 * java.util.Collections#unmodifiableCollection(java.util.Collection)
272 * java.util.Collections#frequency(java.util.Collection,Object)
353 class Mock_Collection implements Collection {
358 public boolean addAll(Collection c) {
369 public boolean containsAll(Collection c) {
385 public boolean removeAll(Collection c) {
389 public boolean retainAll(Collection c) {
406 class Mock_WrongCollection implements Collection {
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
UniformItemSection.java 22 import java.util.Collection;
46 Collection<? extends Item> items = items();
108 * so-ordered collection. If the items in this instance are indexed,

Completed in 1298 milliseconds

1 2 3 4 5 67 8 91011>>