Code example for LinkedHashSet

0
  public static <K> Set<K> newHashSet() { 
    return new HashSet<K>(); 
  } 
 
  public static <K> Set<K> newLinkedHashSet() { 
    return new LinkedHashSet<K>(); 
  } 
 
}