Introduction
Here is the source code for Main.java
Source
//package com.java2s;
//License from project: Apache License
import java.util.*;
public class Main {
public static <T> Set<T> newHashSetOnNull(Set<T> set) {
if (set == null) {
set = new HashSet<T>();
}
return set;
}
}