public class SetFactory extends Object
Constructor and Description |
---|
SetFactory() |
Modifier and Type | Method and Description |
---|---|
static <X> Set<X> |
newIdentitySet() |
static <X> Set<X> |
newOrderedSet() |
static <X> Set<X> |
newOrderedSet(Collection<X> content) |
static <X> Set<X> |
newOrderedSet(X... content) |
static <X> Set<X> |
newSet() |
static <X> Set<X> |
newSet(Collection<X> content) |
static <X> Set<X> |
newSet(Collection<X> content,
Collection<X> otherContent) |
static <X extends Enum<X>> |
newSet(EnumSet<X> content) |
static <X> Set<X> |
newSet(X... content) |
static <X> Set<X> |
newSortedSet() |
public static <X> Set<X> newSet()
public static <X> Set<X> newSortedSet()
public static <X> Set<X> newSet(Collection<X> content)
public static <X> Set<X> newSet(Collection<X> content, Collection<X> otherContent)
public static <X> Set<X> newIdentitySet()
public static <X> Set<X> newSet(X... content)
public static <X> Set<X> newOrderedSet()
public static <X> Set<X> newOrderedSet(Collection<X> content)
public static <X> Set<X> newOrderedSet(X... content)
Copyright © 2011-2021. All Rights Reserved.