HomeSort by relevance Sort by last modified time
    Searched refs:collection (Results 1 - 25 of 420) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509CollectionStoreParameters.java 4 import java.util.Collection;
7 * This class contains a collection for collection based <code>X509Store</code>s.
15 private Collection collection; field in class:X509CollectionStoreParameters
20 * The collection is copied.
23 * @param collection
24 * The collection containing X.509 object types.
25 * @throws NullPointerException if <code>collection</code> is <code>null</code>.
27 public X509CollectionStoreParameters(Collection collection
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableAsList.java 26 * List returned by {@link ImmutableCollection#asList} when the collection isn't
34 private final transient ImmutableCollection<E> collection; field in class:ImmutableAsList
36 ImmutableAsList(Object[] array, ImmutableCollection<E> collection) {
38 this.collection = collection;
42 // The collection's contains() is at least as fast as RegularImmutableList's
44 return collection.contains(target);
51 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm
52 SerializedForm(ImmutableCollection<?> collection) {
53 this.collection = collection
    [all...]
ForwardingCollection.java 23 import java.util.Collection;
29 * A collection which forwards all its method calls to another collection.
31 * backing collection as desired per the <a
50 implements Collection<E> {
56 @Override protected abstract Collection<E> delegate();
69 public boolean removeAll(Collection<?> collection) {
70 return delegate().removeAll(collection);
94 public boolean containsAll(Collection<?> collection)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionEqualsTester.java 22 * Tests {@link java.util.Collection#equals}.
31 collection.equals(collection));
37 collection.equals(null));
42 assertFalse("A Collection should never equal an "
43 + "object that is not a Collection.",
44 collection.equals("huh?"));
CollectionRemoveTester.java 32 * A generic JUnit test which tests {@code remove} operations on a collection.
45 int initialSize = collection.size();
47 collection.remove(samples.e0));
48 assertEquals("remove(present) should decrease a collection's size by one.",
49 initialSize - 1, collection.size());
56 collection.remove(samples.e3));
63 collection = getSubjectGenerator().create(createArrayWithNullElement());
65 int initialSize = collection.size();
66 assertTrue("remove(null) should return true", collection.remove(null));
67 assertEquals("remove(present) should decrease a collection's size by one."
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
NodeType.java 24 collection; enum constant in enum:NodeType
EventElementType.java 24 /** A node has been associated or dissassociated with a collection node */
25 collection, enum constant in enum:EventElementType
  /libcore/luni/src/main/java/java/security/cert/
CollectionCertStoreParameters.java 20 import java.util.Collection;
24 * The parameters to initialize a <i>Collection</i> type {@code CertStore} instance.
26 * It is used to specify the {@code Collection} where the {@code CertStore} will
30 // Default empty and immutable collection.
33 private static final Collection<?> defaultCollection = Collections.EMPTY_SET;
34 // A <code>Collection</code> of <code>Certificate</code>s
36 private final Collection<?> collection; field in class:CollectionCertStoreParameters
39 * Creates a new {@code CollectionCertStoreParameters} without a collection.
41 * The default collection is an empty and unmodifiable {@code Collection}
    [all...]
  /external/ceres-solver/internal/ceres/
map_util.h 57 template <class Collection>
58 const typename Collection::value_type::second_type&
59 FindOrDie(const Collection& collection,
60 const typename Collection::value_type::first_type& key) {
61 typename Collection::const_iterator it = collection.find(key);
62 CHECK(it != collection.end()) << "Map key not found: " << key;
69 template <class Collection>
70 const typename Collection::value_type::second_type
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
map-util.h 45 template <class Collection>
46 const typename Collection::value_type::second_type&
47 FindWithDefault(const Collection& collection,
48 const typename Collection::value_type::first_type& key,
49 const typename Collection::value_type::second_type& value) {
50 typename Collection::const_iterator it = collection.find(key);
51 if (it == collection.end()) {
60 template <class Collection>
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
map-util.h 45 template <class Collection>
46 const typename Collection::value_type::second_type&
47 FindWithDefault(const Collection& collection,
48 const typename Collection::value_type::first_type& key,
49 const typename Collection::value_type::second_type& value) {
50 typename Collection::const_iterator it = collection.find(key);
51 if (it == collection.end()) {
60 template <class Collection>
    [all...]
  /libcore/luni/src/main/java/java/util/
Collection.java 22 * {@code Collection} is the root of the collection hierarchy. It defines operations on
24 * of {@code Collection}s.
26 * All direct or indirect implementations of {@code Collection} should implement at
28 * collection and one with a parameter of type {@code Collection}. This second
29 * constructor can be used to create a collection of different type as the
30 * initial collection but with the same elements. Implementations of {@code Collection}
34 * Methods that change the content of a collection throw a
    [all...]
Set.java 26 public interface Set<E> extends Collection<E> {
45 * Adds the objects in the specified collection which do not exist yet in
48 * @param collection
49 * the collection of objects.
58 public boolean addAll(Collection<? extends E> collection);
81 * Searches this set for all objects in the specified collection.
83 * @param collection
84 * the collection of objects.
85 * @return {@code true} if all objects in the specified collection ar
    [all...]
AbstractSet.java 86 * Removes all occurrences in this collection which are contained in the
87 * specified collection.
89 * @param collection
90 * the collection of objects to remove.
91 * @return {@code true} if this collection was modified, {@code false}
94 * if removing from this collection is not supported.
97 public boolean removeAll(Collection<?> collection) {
99 if (size() <= collection.size()) {
102 if (collection.contains(it.next()))
    [all...]
  /external/chromium_org/chrome/browser/ui/panels/
docked_panel_drag_handler.cc 16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type());
18 DockedPanelCollection* collection = local
19 static_cast<DockedPanelCollection*>(panel->collection());
27 int bottom = collection->GetBottomPositionForExpansionState(
45 collection->RefreshLayout();
51 DockedPanelCollection* collection = local
52 static_cast<DockedPanelCollection*>(panel->collection());
60 find(collection->panels_.begin(), collection->panels_.end(), panel);
64 for (; current_panel_iterator != collection->panels_.end()
85 DockedPanelCollection* collection = local
    [all...]
test_panel_collection_squeeze_observer.cc 13 DockedPanelCollection* collection, Panel* active_panel)
16 content::Source<PanelCollection>(collection)),
17 panel_collection_(collection),
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsCollectionTest.java 66 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); local
67 collection.readLegacyNetwork(testFile);
70 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI),
75 collection.write(new DataOutputStream(bos));
78 collection.reset();
79 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI),
83 collection.read(new ByteArrayInputStream(bos.toByteArray()));
84 assertSummaryTotal(collection, buildTemplateMobileAll(TEST_IMSI),
92 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); local
93 collection.readLegacyUid(testFile, false)
118 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); local
141 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); local
    [all...]
  /external/chromium/chrome/browser/
browsing_data_appcache_helper_unittest.cc 51 std::map<GURL, appcache::AppCacheInfoVector>& collection = local
54 ASSERT_EQ(2u, collection.size());
55 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin()));
56 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size());
57 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url);
59 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin()));
60 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size());
62 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url);
63 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url);
83 std::map<GURL, appcache::AppCacheInfoVector>& collection local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ShadowTreeStyleSheetCollection.cpp 48 void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection)
87 collection.appendSheetForList(sheet);
89 collection.appendActiveStyleSheet(activeSheet);
95 StyleSheetCollectionBase collection; local
96 collectStyleSheets(engine, collection);
99 analyzeStyleSheetChange(updateMode, collection, change);
110 styleResolver->lazyAppendAuthorStyleSheets(0, collection.activeAuthorStyleSheets());
112 styleResolver->lazyAppendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), collection.activeAuthorStyleSheets());
119 collection.swap(*this);
DocumentStyleSheetCollection.cpp 55 void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor collectFor)
134 collection.appendSheetForList(sheet);
136 collection.appendActiveStyleSheet(activeSheet);
140 static void collectActiveCSSStyleSheetsFromSeamlessParents(StyleSheetCollectionBase& collection, Document* document)
145 collection.appendActiveStyleSheets(seamlessParentIFrame->document().styleEngine()->activeAuthorStyleSheets());
148 void DocumentStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor colletFor)
151 collection.appendActiveStyleSheets(engine->injectedAuthorStyleSheets());
152 collection.appendActiveStyleSheets(engine->documentAuthorStyleSheets());
153 collectActiveCSSStyleSheetsFromSeamlessParents(collection, document());
154 collectStyleSheetsFromCandidates(engine, collection, colletFor)
159 StyleSheetCollectionBase collection; local
    [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...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
CollectionSerializer.java 40 import java.util.Collection;
55 Collection collection; local
57 collection = (Collection)c.newInstance();
59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList.");
60 collection = new ArrayList(length);
63 if (length == 0) return (T)collection;
71 collection.add(serializer.readObject(data, clazz));
75 collection.add(Serializer.readClassAndObject(data))
82 Collection collection = (Collection)object; local
    [all...]
  /external/chromium/chrome/browser/chromeos/notifications/
notification_browsertest.cc 140 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
145 collection->Add(NewMockNotification("1"), browser()->profile());
152 collection->Add(NewMockNotification("2"), browser()->profile());
158 collection->RemoveById("1");
165 collection->RemoveById("2");
179 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
186 collection->Add(NewMockNotification("1"), browser()->profile());
187 collection->Add(NewMockNotification("2"), browser()->profile());
194 collection->RemoveById("1");
200 collection->Add(NewMockNotification("1"), browser()->profile())
227 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
264 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
307 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
374 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
388 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
417 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
492 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
525 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
548 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
579 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractCollectionTester.java 19 import java.util.Collection;
22 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
31 extends AbstractContainerTester<Collection<E>, E> {
34 protected Collection<E> collection; field in class:AbstractCollectionTester
36 @Override protected Collection<E> actualContents() {
37 return collection;
40 // TODO: dispose of this once collection is encapsulated.
41 @Override protected Collection<E> resetContainer(Collection<E> newContents)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
Join.java 3 import java.util.Collection;
6 public static String join(String delimiter, Collection collection) {
9 for (Object obj : collection) {
19 public static String join(String delimiter, Object... collection) {
22 for (Object obj : collection) {

Completed in 974 milliseconds

1 2 3 4 5 6 7 8 91011>>