Home
last modified time | relevance | path

Searched refs:HashSet (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSetExtensions.cs45 public static bool add<T>( this HashSet<T> set, T item ) in add()
51 public static void addAll<T>( this HashSet<T> set, IEnumerable<T> items ) in addAll()
59 public static void clear<T>( this HashSet<T> set ) in clear()
65 public static bool contains<T>( this HashSet<T> set, T value ) in contains()
71 public static bool remove<T>( this HashSet<T> set, T item ) in remove()
77 public static int size<T>( this HashSet<T> set ) in size()
83 public static T[] toArray<T>( this HashSet<T> set ) in toArray()
DDictionaryExtensions.cs111 public static HashSet<object> keySet( this IDictionary map ) in keySet()
113 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet()
119 return new HashSet<TKey>( map.Keys ); in keySet()
124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map ) in keySet()
126 return new HashSet<TKey>( map.Keys ); in keySet()
130 public static HashSet<object> keySet<TKey, TValue>( this SortedList<TKey, TValue> map ) in keySet()
132 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs106 public static HashSet<object> keySet(IDictionary map) { in keySet()
107 return new HashSet<object>(map.Keys.Cast<object>()); in keySet()
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet()
112 return new HashSet<TKey>(map.Keys); in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) { in keySet()
118 return new HashSet<TKey>(map.Keys); in keySet()
122 public static HashSet<object> keySet<TKey, TValue>(SortedList<TKey, TValue> map) { in keySet()
123 return new HashSet<object>(map.Keys.Cast<object>()); in keySet()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSetOperationsTest.java23 import java.util.HashSet;
49 HashSet<String> mut in testUnion()
50 = Sets.union(friends, enemies).copyInto(new HashSet<String>()); in testUnion()
67 HashSet<String> mut in testIntersection()
68 = Sets.intersection(friends, enemies).copyInto(new HashSet<String>()); in testIntersection()
85 HashSet<String> mut in testDifference()
86 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
111 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference()
112 .copyInto(new HashSet<String>()); in testSymmetricDifference()
121 copyInto(new HashSet<String>()); in testSymmetricDifference()
/external/doclava/src/com/google/doclava/
DTypeInfo.java25 new HashSet<String>(Arrays.asList("boolean", "byte", "char", "double", "float", "int",
152 return fullName(new HashSet<String>()); in fullName()
156 public static String typeArgumentsName(ArrayList<TypeInfo> args, HashSet<String> typeVars) { in typeArgumentsName()
171 public String fullName(HashSet<String> typeVars) { in fullName()
176 public String fullNameNoBounds(HashSet<String> typeVars) { in fullNameNoBounds()
182 private boolean checkRecurringTypeVar(HashSet<String> typeVars) { in checkRecurringTypeVar()
192 private String fullNameNoDimensionNoBounds(HashSet<String> typeVars) { in fullNameNoDimensionNoBounds()
207 public String fullNameNoDimension(HashSet<String> typeVars) { in fullNameNoDimension()
240 makeHDFRecursive(data, base, false, false, new HashSet<String>()); in makeHDF()
244 makeHDFRecursive(data, base, true, false, new HashSet<String>()); in makeQualifiedHDF()
[all …]
DParameterInfo.java22 import java.util.HashSet;
63 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables) { in makeHDF()
67 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables, in makeHDF()
75 HashSet<String> typeVariables) { in makeHDF()
80 HashSet<String> typeVariables, Map<String, TypeInfo> typeMapping) { in makeHDF()
DStubs.java29 import java.util.HashSet;
37 String removedApiFile, HashSet<String> stubPackages) { in writeStubsAndApi()
39 final HashSet<ClassInfo> notStrippable = new HashSet<ClassInfo>(); in writeStubsAndApi()
166 final HashSet<Pattern> stubPackageWildcards = extractWildcards(stubPackages); in writeStubsAndApi()
218 final HashSet<String> stubPackages, final HashSet<Pattern> stubPackageWildcards) { in shouldWriteStub()
238 private static HashSet<Pattern> extractWildcards(HashSet<String> stubPackages) { in extractWildcards()
239 HashSet<Pattern> wildcards = null; in extractWildcards()
245 wildcards = new HashSet<Pattern>(); in extractWildcards()
273 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable, String why) { in cantStripThis()
348 …private static void cantStripThis(ArrayList<MethodInfo> mInfos, HashSet<ClassInfo> notStrippable) { in cantStripThis()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DStatistics.java39 import java.util.HashSet;
62 protected HashSet<Integer> shadersUsed = new HashSet<Integer>();
63 protected HashSet<Integer> texturesUsed = new HashSet<Integer>();
64 protected HashSet<Integer> fbosUsed = new HashSet<Integer>();
/external/ceres-solver/internal/ceres/
Dgraph.h58 edges_[vertex] = HashSet<Vertex>(); in AddVertex()
76 const HashSet<Vertex>& sinks = edges_[vertex]; in RemoveVertex()
77 for (typename HashSet<Vertex>::const_iterator it = sinks.begin(); in RemoveVertex()
137 const HashSet<Vertex>& Neighbors(const Vertex& vertex) const { in Neighbors()
141 const HashSet<Vertex>& vertices() const { in vertices()
150 HashSet<Vertex> vertices_;
152 HashMap<Vertex, HashSet<Vertex> > edges_;
Dgraph_algorithms.h98 const HashSet<Vertex>& vertices = graph.vertices(); in IndependentSetOrdering()
113 for (typename HashSet<Vertex>::const_iterator it = vertices.begin(); in IndependentSetOrdering()
134 const HashSet<Vertex>& neighbors = graph.Neighbors(vertex); in IndependentSetOrdering()
135 for (typename HashSet<Vertex>::const_iterator it = neighbors.begin(); in IndependentSetOrdering()
175 const HashSet<Vertex>& vertices = graph.vertices(); in StableIndependentSetOrdering()
191 for (typename HashSet<Vertex>::const_iterator it = vertices.begin(); in StableIndependentSetOrdering()
209 const HashSet<Vertex>& neighbors = graph.Neighbors(vertex); in StableIndependentSetOrdering()
210 for (typename HashSet<Vertex>::const_iterator it = neighbors.begin(); in StableIndependentSetOrdering()
287 const HashSet<Vertex>& vertices = graph.vertices(); in Degree2MaximumSpanningForest()
288 for (typename HashSet<Vertex>::const_iterator it = vertices.begin(); in Degree2MaximumSpanningForest()
[all …]
Dsingle_linkage_clustering.cc52 const HashSet<int>& vertices = graph.vertices(); in ComputeSingleLinkageClustering()
53 for (HashSet<int>::const_iterator it = vertices.begin(); in ComputeSingleLinkageClustering()
59 for (HashSet<int>::const_iterator it1 = vertices.begin(); in ComputeSingleLinkageClustering()
63 const HashSet<int>& neighbors = graph.Neighbors(vertex1); in ComputeSingleLinkageClustering()
64 for (HashSet<int>::const_iterator it2 = neighbors.begin(); in ComputeSingleLinkageClustering()
Dgraph_algorithms_test.cc113 const HashSet<int>& vertices = forest->vertices(); in TEST()
135 const HashSet<int>& vertices = forest->vertices(); in TEST()
139 const HashSet<int>& neighbors = forest->Neighbors(0); in TEST()
146 const HashSet<int>& neighbors = forest->Neighbors(3); in TEST()
152 const HashSet<int>& neighbors = forest->Neighbors(4); in TEST()
158 const HashSet<int>& neighbors = forest->Neighbors(1); in TEST()
163 const HashSet<int>& neighbors = forest->Neighbors(2); in TEST()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DSubstituteLoggerFactoryTest.java31 import java.util.HashSet;
49 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggerNameList()
50 Set<String> actualNames = new HashSet<String>(factory.getLoggerNames()); in testLoggerNameList()
59 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggers()
61 Set<String> actualNames = new HashSet<String>(); in testLoggers()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXBuilderParametersTest.java29 import java.util.HashSet;
107 HashSet originalSet = (HashSet) taSet; in testPKIXBuilderParametersSetCertSelector03()
108 HashSet originalSetCopy = (HashSet) originalSet.clone(); in testPKIXBuilderParametersSetCertSelector03()
145 new PKIXBuilderParameters(new HashSet(), null); in testPKIXBuilderParametersSetCertSelector05()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java4 import java.util.HashSet;
28 private static Set md5 = new HashSet();
29 private static Set sha1 = new HashSet();
30 private static Set sha224 = new HashSet();
31 private static Set sha256 = new HashSet();
32 private static Set sha384 = new HashSet();
33 private static Set sha512 = new HashSet();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DExtendedPKIXParameters.java14 import java.util.HashSet;
67 trustedACIssuers = new HashSet(); in ExtendedPKIXParameters()
68 necessaryACAttributes = new HashSet(); in ExtendedPKIXParameters()
69 prohibitedACAttributes = new HashSet(); in ExtendedPKIXParameters()
70 attrCertCheckers = new HashSet(); in ExtendedPKIXParameters()
135 trustedACIssuers = new HashSet(_params.trustedACIssuers); in setParams()
136 prohibitedACAttributes = new HashSet(_params.prohibitedACAttributes); in setParams()
137 necessaryACAttributes = new HashSet(_params.necessaryACAttributes); in setParams()
138 attrCertCheckers = new HashSet(_params.attrCertCheckers); in setParams()
/external/mockito/src/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java11 import java.util.HashSet;
34 …private HashSet<HashCodeAndEqualsMockWrapper> backingHashSet = new HashSet<HashCodeAndEqualsMockWr…
131 private HashSet<HashCodeAndEqualsMockWrapper> asWrappedMocks(Collection<?> mocks) { in asWrappedMocks()
133 HashSet<HashCodeAndEqualsMockWrapper> hashSet = new HashSet<HashCodeAndEqualsMockWrapper>(); in asWrappedMocks()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java304 protected final Set<SemanticContext> operands = new HashSet<SemanticContext>();
325 public CommutativePredicate(HashSet<SemanticContext> contexts){ in CommutativePredicate()
444 public AND(HashSet<SemanticContext> contexts) { in AND()
499 public OR(HashSet<SemanticContext> contexts) { in OR()
720 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getAndOperands(a)); in factorAnd()
721 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getAndOperands(b)); in factorAnd()
723 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorAnd()
753 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getOrOperands(a)); in factorOr()
754 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getOrOperands(b)); in factorOr()
756 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorOr()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBINode.java9 import java.util.HashSet;
106 fFirstPosSet = new HashSet<RBBINode>(); in RBBINode()
107 fLastPosSet = new HashSet<RBBINode>(); in RBBINode()
108 fFollowPos = new HashSet<RBBINode>(); in RBBINode()
132 fFirstPosSet = new HashSet<RBBINode>(other.fFirstPosSet);
133 fLastPosSet = new HashSet<RBBINode>(other.fLastPosSet);
134 fFollowPos = new HashSet<RBBINode>(other.fFollowPos);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
DOptionsMessage.java19 import java.util.HashSet;
78 mInputEncodings = new HashSet<EncodingOption>(); in OptionsMessage()
79 mOutputEncodings = new HashSet<EncodingOption>(); in OptionsMessage()
107 return new HashSet<EncodingOption>(mInputEncodings); in getInputEncodingSet()
111 return new HashSet<EncodingOption>(mOutputEncodings); in getOutputEncodingSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java9 import java.util.HashSet;
24 Set initialSet = new HashSet(); in findCRLs()
37 Set finalSet = new HashSet(); in findCRLs()
81 Set crls = new HashSet(); in findCRLs()
DPKIXNameConstraintValidator.java6 import java.util.HashSet;
22 private Set excludedSubtreesDN = new HashSet();
24 private Set excludedSubtreesDNS = new HashSet();
26 private Set excludedSubtreesEmail = new HashSet();
28 private Set excludedSubtreesURI = new HashSet();
30 private Set excludedSubtreesIP = new HashSet();
135 Set intersect = new HashSet(); in intersectDN()
182 Set intersect = new HashSet(); in unionDN()
210 Set intersect = new HashSet(); in intersectEmail()
250 Set union = new HashSet(); in unionEmail()
[all …]
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DMappingFileProviderTest.java27 import java.util.HashSet;
53 private static HashSet<String> newHashSet(String... strings) { in newHashSet()
54 HashSet<String> set = new HashSet<String>(); in newHashSet()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXParameters_ImplTest.java36 import java.util.HashSet;
150 HashSet newSet = new HashSet(p.getTrustAnchors()); in testSetTrustAnchors05()
151 HashSet newSetCopy = (HashSet) newSet.clone(); in testSetTrustAnchors05()
199 Set s = new HashSet(); in testClone01()
/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java33 import java.util.HashSet;
273 HashSet<String> mut in testUnion()
274 = Sets.union(friends, enemies).copyInto(new HashSet<String>()); in testUnion()
291 HashSet<String> mut in testIntersection()
292 = Sets.intersection(friends, enemies).copyInto(new HashSet<String>()); in testIntersection()
309 HashSet<String> mut in testDifference()
310 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
335 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference()
336 .copyInto(new HashSet<String>()); in testSymmetricDifference()
345 copyInto(new HashSet<String>()); in testSymmetricDifference()

12345678910>>...18