comment java 9

This commit is contained in:
mherbaghinyan 2018-12-28 16:33:41 +04:00
parent 8ce227cce7
commit fb8183d694
1 changed files with 4 additions and 4 deletions

View File

@ -17,12 +17,12 @@ public class UnmodifiableSet {
coreJDK(set);
guavaOf();
copyOf(set);
setOf();
java9Of();
}
private static void setOf() {
Set<String> immutable = Set.of("Canada", "USA");
System.out.println(immutable);
private static void java9Of() {
//Set<String> immutable = Set.of("Canada", "USA");
//System.out.println(immutable);
}
private static void guavaOf() {