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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/services/java/com/android/server/am/
PendingThumbnailsRecord.java 21 import java.util.HashSet;
30 final HashSet<ActivityRecord> pendingRecords; // HistoryRecord objects we still wait for.
36 pendingRecords = new HashSet<ActivityRecord>();
  /libcore/luni/src/main/java/java/util/
LinkedHashSet.java 23 * LinkedHashSet is a variant of HashSet. Its entries are kept in a
29 * Like HashSet, LinkedHashSet is not thread safe, so access by multiple threads
35 public class LinkedHashSet<E> extends HashSet<E> implements Set<E>, Cloneable,
44 super(new LinkedHashMap<E, HashSet<E>>());
55 super(new LinkedHashMap<E, HashSet<E>>(capacity));
68 super(new LinkedHashMap<E, HashSet<E>>(capacity, loadFactor));
79 super(new LinkedHashMap<E, HashSet<E>>(collection.size() < 6 ? 11
88 HashMap<E, HashSet<E>> createBackingMap(int capacity, float loadFactor) {
89 return new LinkedHashMap<E, HashSet<E>>(capacity, loadFactor);
HashSet.java 26 * HashSet is an implementation of a Set. All optional operations (adding and
29 public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable,
34 transient HashMap<E, HashSet<E>> backingMap;
37 * Constructs a new empty instance of {@code HashSet}.
39 public HashSet() {
40 this(new HashMap<E, HashSet<E>>());
44 * Constructs a new instance of {@code HashSet} with the specified capacity.
47 * the initial capacity of this {@code HashSet}.
49 public HashSet(int capacity) {
50 this(new HashMap<E, HashSet<E>>(capacity))
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/
CardStreamState.java 22 import java.util.HashSet;
30 protected HashSet<String> dismissibleCards;
33 protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shownTag) {
  /frameworks/base/services/java/com/android/server/pm/
GrantedPermissions.java 21 import java.util.HashSet;
26 HashSet<String> grantedPermissions = new HashSet<String>();
37 grantedPermissions = (HashSet<String>) base.grantedPermissions.clone();
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
CatchBuilder.java 21 import java.util.HashSet;
47 public HashSet<Type> getCatchTypes();
  /dalvik/dx/src/com/android/dx/dex/code/
CatchBuilder.java 20 import java.util.HashSet;
46 public HashSet<Type> getCatchTypes();
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleInvalidationAnalysis.h 29 #include "wtf/HashSet.h"
51 HashSet<StringImpl*> m_idScopes;
52 HashSet<StringImpl*> m_classScopes;
InspectorCSSOMWrappers.h 28 #include "wtf/HashSet.h"
51 void collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet> >& sheetWrapperSet, StyleSheetContents*);
56 HashSet<RefPtr<CSSStyleSheet> > m_styleSheetCSSOMWrapperSet;
  /external/dexmaker/src/dx/java/com/android/dx/dex/code/
CatchBuilder.java 21 import java.util.HashSet;
47 public HashSet<Type> getCatchTypes();
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
AlternateFormatsCountryCodeSet.java 23 import java.util.HashSet;
31 Set<Integer> countryCodeSet = new HashSet<Integer>(8);
  /frameworks/base/core/java/android/content/pm/
PackageUserState.java 21 import java.util.HashSet;
36 public HashSet<String> disabledComponents;
37 public HashSet<String> enabledComponents;
53 ? new HashSet<String>(o.disabledComponents) : null;
55 ? new HashSet<String>(o.enabledComponents) : null;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
HashSetTest.java 21 import java.util.HashSet;
35 HashSet hs;
45 * @tests java.util.HashSet#HashSet()
48 // Test for method java.util.HashSet()
49 HashSet hs2 = new HashSet();
50 assertEquals("Created incorrect HashSet", 0, hs2.size());
54 * @tests java.util.HashSet#HashSet(int
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
HashSetTest.java 21 import java.util.HashSet;
35 HashSet hs;
40 * java.util.HashSet#HashSet()
43 // Test for method java.util.HashSet()
44 HashSet hs2 = new HashSet();
45 assertEquals("Created incorrect HashSet", 0, hs2.size());
49 * java.util.HashSet#HashSet(int
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
SetExtensions.cs 45 public static bool add<T>( this HashSet<T> set, T item )
51 public static void addAll<T>( this HashSet<T> set, IEnumerable<T> items )
59 public static void clear<T>( this HashSet<T> set )
65 public static bool contains<T>( this HashSet<T> set, T value )
71 public static bool remove<T>( this HashSet<T> set, T item )
77 public static int size<T>( this HashSet<T> set )
83 public static T[] toArray<T>( this HashSet<T> set )
  /frameworks/base/tools/preload/
Policy.java 18 import java.util.HashSet;
42 private static final Set<String> SERVICES = new HashSet<String>(Arrays.asList(
62 = new HashSet<String>(Arrays.asList(
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ListSuggestionCursorNoDuplicates.java 21 import java.util.HashSet;
32 private final HashSet<String> mSuggestionKeys;
36 mSuggestionKeys = new HashSet<String>();
  /external/chromium_org/base/android/java/src/org/chromium/base/
CollectionUtil.java 9 import java.util.HashSet;
20 public static <E> HashSet<E> newHashSet(E... elements) {
21 HashSet<E> set = new HashSet<E>(elements.length);
  /external/apache-http/src/org/apache/http/impl/client/
RedirectLocations.java 35 import java.util.HashSet;
47 this.uris = new HashSet<URI>();
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLContextGroup.h 30 #include "wtf/HashSet.h"
65 HashSet<WebGLRenderingContext*> m_contexts;
66 HashSet<WebGLSharedObject*> m_groupObjects;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MutationObserverRegistration.h 35 #include "wtf/HashSet.h"
45 static PassOwnPtr<MutationObserverRegistration> create(PassRefPtr<MutationObserver>, Node*, MutationObserverOptions, const HashSet<AtomicString>& attributeFilter);
48 void resetObservation(MutationObserverOptions, const HashSet<AtomicString>& attributeFilter);
61 void addRegistrationNodesToSet(HashSet<Node*>&) const;
64 MutationObserverRegistration(PassRefPtr<MutationObserver>, Node*, MutationObserverOptions, const HashSet<AtomicString>& attributeFilter);
69 typedef HashSet<RefPtr<Node> > NodeHashSet;
73 HashSet<AtomicString> m_attributeFilter;
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 23 import java.util.HashSet;
35 * Creates an empty {@code HashSet} instance.
43 * @return a newly-created, initially-empty {@code HashSet}
45 public static <K> HashSet<K> newHashSet() {
46 return new HashSet<K>();
50 * Creates a {@code HashSet} instance containing the given elements.
63 * @return a newly-created {@code HashSet} containing those elements (minus
66 public static <E> HashSet<E> newHashSet(E... elements) {
68 HashSet<E> set = new HashSet<E>(capacity)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashSet.h 31 template<typename Value, typename HashFunctions, typename Traits> class HashSet;
33 void deleteAllValues(const HashSet<Value, HashFunctions, Traits>&);
36 typename TraitsArg = HashTraits<ValueArg> > class HashSet {
54 void swap(HashSet&);
93 friend void deleteAllValues<>(const HashSet&);
113 inline void HashSet<T, U, V>::swap(HashSet& other)
119 inline unsigned HashSet<T, U, V>::size() const
125 inline unsigned HashSet<T, U, V>::capacity() const
131 inline bool HashSet<T, U, V>::isEmpty() cons
    [all...]
  /libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/
CertBlacklistTest.java 32 import java.util.HashSet;
139 // convert the results to a hashset of strings
140 Set<String> results = new HashSet<String>();
152 // convert the results to a hashset of strings
153 Set<String> results = new HashSet<String>();
189 private void writeBlacklist(HashSet<String> values) throws IOException {
218 HashSet<String> bl = new HashSet<String>();
232 writeBlacklist(new HashSet<String>());
246 HashSet<String> testBlackList = new HashSet<String>()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGResourcesCycleSolver.cpp 58 HashSet<RenderSVGResourceContainer*> resourceSet;
62 HashSet<RenderSVGResourceContainer*>::iterator end = resourceSet.end();
63 for (HashSet<RenderSVGResourceContainer*>::iterator it = resourceSet.begin(); it != end; ++it) {
78 HashSet<RenderSVGResourceContainer*> childSet;
82 HashSet<RenderSVGResourceContainer*>::iterator end = childSet.end();
83 for (HashSet<RenderSVGResourceContainer*>::iterator it = childSet.begin(); it != end; ++it) {
105 // Stash all resources into a HashSet for the ease of traversing.
106 HashSet<RenderSVGResourceContainer*> localResources;
110 // Add all parent resource containers to the HashSet.
111 HashSet<RenderSVGResourceContainer*> parentResources
    [all...]

Completed in 3739 milliseconds

1 2 3 4 5 6 7 8 91011>>