Home
last modified time | relevance | path

Searched refs:hashSet (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashSetTest.java335 LinkedHashSet<String> hashSet = new LinkedHashSet<>(); in test_spliterator() local
338 hashSet.addAll(keys); in test_spliterator()
341 SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(), expectedKeys, in test_spliterator()
343 SpliteratorTester.runBasicSplitTests(hashSet, expectedKeys); in test_spliterator()
344 SpliteratorTester.testSpliteratorNPE(hashSet.spliterator()); in test_spliterator()
346 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator()
349 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
351 SpliteratorTester.assertSupportsTrySplit(hashSet); in test_spliterator()
DHashSetTest.java265 HashSet<String> hashSet = new HashSet<>(); in test_spliterator() local
268 hashSet.addAll(keys); in test_spliterator()
271 SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(), expectedKeys, in test_spliterator()
273 SpliteratorTester.runBasicSplitTests(hashSet, expectedKeys); in test_spliterator()
274 SpliteratorTester.testSpliteratorNPE(hashSet.spliterator()); in test_spliterator()
276 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
278 SpliteratorTester.assertSupportsTrySplit(hashSet); in test_spliterator()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamFlagsTest.java45 Stream<String> hashSet = new HashSet<String>().stream(); field in StreamFlagsTest
50 Stream<?>[] streams = { arrayList, linkedList, hashSet, treeSet, linkedHashSet, repeat };
62 Stream<String> hashSet = new HashSet<String>().stream(); in testBaseStreams() local
73 assertFlags(OpTestCase.getStreamFlags(hashSet), in testBaseStreams()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXParameters.java147 Set<TrustAnchor> hashSet = new HashSet<TrustAnchor>(); in PKIXParameters() local
154 hashSet.add(new TrustAnchor((X509Certificate)cert, null)); in PKIXParameters()
157 setTrustAnchors(hashSet); in PKIXParameters()