eight
2024-09-11 77e9ae06280bbb1e944b9fb0f86ce1597d1f1b5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cn.lihu.jh.framework.common.util.collection;
 
import cn.hutool.core.collection.CollUtil;
 
import java.util.Set;
 
/**
 * Set 工具类
 *
 * @author 芋道源码
 */
public class SetUtils {
 
    @SafeVarargs
    public static <T> Set<T> asSet(T... objs) {
        return CollUtil.newHashSet(objs);
    }
 
}