构造器和说明 |
---|
SetUtil() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
isEmpty(Set<?> set) |
static <E> Set<E> |
newHashSet() |
static <E> Set<E> |
newHashSet(Collection<? extends E> c) |
static <E> Set<E> |
newHashSet(E... values) |
static <E> Set<E> |
newHashSet(int initialCapacity) |
static <E> Set<E> |
newHashSet(int initialCapacity,
float loadFactor) |
public static <E> Set<E> newHashSet()
public static <E> Set<E> newHashSet(int initialCapacity)
public static <E> Set<E> newHashSet(int initialCapacity, float loadFactor)
public static <E> Set<E> newHashSet(Collection<? extends E> c)
@SafeVarargs public static <E> Set<E> newHashSet(E... values)
public static boolean isEmpty(Set<?> set)
Copyright © 2016–2019. All rights reserved.