Home
last modified time | relevance | path

Searched refs:newSet (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DHashSet.java255 HashSet<E> newSet = (HashSet<E>) super.clone(); in clone() local
256 newSet.map = (HashMap<E, Object>) map.clone(); in clone()
257 return newSet; in clone()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUtil.java99 static <E> Set<E> newSet(E... elements) { in newSet() method in Util
112 static <E> Set<E> newSet(Set<E> other, E... elements) { in newSet() method in Util
DUnixFileAttributeViews.java138 Util.newSet(basicAttributeNames, PERMISSIONS_NAME, OWNER_NAME, GROUP_NAME);
307 Util.newSet(posixAttributeNames,
DAbstractBasicFileAttributeView.java51 Util.newSet(SIZE_NAME,
DLinuxDosFileAttributeView.java63 Util.newSet(basicAttributeNames, READONLY_NAME, ARCHIVE_NAME, SYSTEM_NAME, HIDDEN_NAME);
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSetTest.java676 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets()
702 static NavigableSet<Integer> newSet(Class cl) throws Exception { in newSet() method in TreeSetTest
DConcurrentSkipListSetTest.java672 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets()
698 static NavigableSet<Integer> newSet(Class cl) throws Exception { in newSet() method in ConcurrentSkipListSetTest
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java245 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("D"))); in requestHeaders()
246 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("d"))); in requestHeaders()
321 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); in responseHeaders()
322 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); in responseHeaders()
3272 private Set<String> newSet(String... elements) {