Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 5e4e7ea

Browse files
authored
Add files via upload
Set clones
1 parent 846fd19 commit 5e4e7ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

usacotools.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ public static String[] toArrays(ArrayList<String> arr) {
129129
}
130130
return stuff;
131131
}
132+
public static Set<String> sclones(Set<String> k) {
133+
return (new HashSet<String>(k));
134+
}
135+
public static Set<Integer> sclone(Set<Integer> k) {
136+
return (new HashSet<Integer>(k));
137+
}
132138
public static void main(String[] args) throws Exception{
133139
System.out.println("Running demo");
134140
Scanner sc=getsysscan();

0 commit comments

Comments
 (0)