Java tutorial
//package com.java2s; import java.util.HashSet; import java.util.Set; public class Main { /** * <p> * Creates an empty Set of Long types. * </p> * * @return Set of Long types */ public static Set<Long> CreateEmptyLongSet() { return ((Set<Long>) (new HashSet<Long>())); } }