|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.util.SetUtils
public class SetUtils
Provides a number of utility methods for Sets.
| Constructor Summary | |
|---|---|
SetUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
asSet(T... objs)
Returns a variable number of arguments (or an array) as a set. |
|
static
|
subtract(java.util.Set<? extends T> minuend,
java.util.Set<? extends T> subtrahend)
Subtracts one set from another. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetUtils()
| Method Detail |
|---|
public static <T> java.util.Set<T> subtract(java.util.Set<? extends T> minuend,
java.util.Set<? extends T> subtrahend)
T - the type of the objects in the sets.minuend - the set to subtract fromsubtrahend - the set to subtract
public static <T> java.util.Set<T> asSet(T... objs)
T - the type of the objects in the set.objs - the object to place in the set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||