/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/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamState.java | 19 import java.util.HashSet; 27 protected HashSet<String> dismissibleCards; 30 protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shownTag) {
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
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/core/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/invalidation/ |
StyleSheetInvalidationAnalysis.h | 30 #include "wtf/HashSet.h" 52 HashSet<StringImpl*> m_idScopes; 53 HashSet<StringImpl*> m_classScopes;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
CatchBuilder.java | 21 import java.util.HashSet; 47 public HashSet<Type> getCatchTypes();
|
/frameworks/base/core/java/android/content/pm/ |
PackageUserState.java | 21 import java.util.HashSet; 37 public HashSet<String> disabledComponents; 38 public HashSet<String> enabledComponents; 54 ? new HashSet<String>(o.disabledComponents) : null; 56 ? new HashSet<String>(o.enabledComponents) : null;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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/third_party/WebKit/Source/wtf/ |
HashSet.h | 37 typename Allocator = DefaultAllocator> class HashSet { 38 WTF_USE_ALLOCATOR(HashSet, Allocator); 58 void swap(HashSet& ref) 63 void swap(typename Allocator::template OtherType<HashSet>::Type other) 65 HashSet& ref = Allocator::getOther(other); 133 inline unsigned HashSet<T, U, V, W>::size() const 139 inline unsigned HashSet<T, U, V, W>::capacity() const 145 inline bool HashSet<T, U, V, W>::isEmpty() const 151 inline typename HashSet<T, U, V, W>::iterator HashSet<T, U, V, W>::begin() cons [all...] |
/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/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
WordMeasurement.h | 28 #include "wtf/HashSet.h" 48 HashSet<const SimpleFontData*> fallbackFonts;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
OpenedFrameTracker.h | 8 #include "wtf/HashSet.h" 32 WTF::HashSet<WebFrame*> m_openedFrames;
|
/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" 68 HashSet<WebGLRenderingContextBase*> m_contexts; 69 HashSet<WebGLSharedObject*> m_groupObjects;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontElement.h | 39 HashSet<String> unicodeName1; 40 HashSet<String> unicodeName2; 41 HashSet<String> glyphName1; 42 HashSet<String> glyphName2; 76 Vector<SVGGlyph> buildGlyphList(const UnicodeRanges&, const HashSet<String>& unicodeNames, const HashSet<String>& glyphNames) const;
|
/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...] |
/libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/ |
CertBlacklistTest.java | 32 import java.util.HashSet; 157 // convert the results to a hashset of strings 158 Set<String> results = new HashSet<String>(); 170 // convert the results to a hashset of strings 171 Set<String> results = new HashSet<String>(); 207 private void writeBlacklist(HashSet<String> values) throws IOException { 236 HashSet<String> bl = new HashSet<String>(); 250 writeBlacklist(new HashSet<String>()); 264 HashSet<String> testBlackList = new HashSet<String>() [all...] |
/cts/libs/commonutil/src/com/android/cts/util/ |
AbiUtils.java | 19 import java.util.HashSet; 31 private static final Set<String> ABIS_32BIT = new HashSet<String>(); 36 private static final Set<String> ABIS_64BIT = new HashSet<String>(); 41 private static final Set<String> ARM_ABIS = new HashSet<String>(); 46 private static final Set<String> INTEL_ABIS = new HashSet<String>(); 51 private static final Set<String> MIPS_ABIS = new HashSet<String>(); 56 private static final Set<String> ABIS_SUPPORTED_BY_CTS = new HashSet<String>(); 106 return new HashSet<String>(ARCH_TO_ABIS.get(arch)); 114 return new HashSet<String>(ABIS_SUPPORTED_BY_CTS); 172 Set<String> abiSet = new HashSet<>(); [all...] |
/external/ceres-solver/internal/ceres/ |
single_linkage_clustering.cc | 52 const HashSet<int>& vertices = graph.vertices(); 53 for (HashSet<int>::const_iterator it = vertices.begin(); 59 for (HashSet<int>::const_iterator it1 = vertices.begin(); 63 const HashSet<int>& neighbors = graph.Neighbors(vertex1); 64 for (HashSet<int>::const_iterator it2 = neighbors.begin();
|