public static class PolicyUtils.Collections
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static PolicyLogger |
LOGGER |
| Constructor and Description |
|---|
Collections() |
| Modifier and Type | Method and Description |
|---|---|
static <E,T extends java.util.Collection<? extends E>,U extends java.util.Collection<? extends E>> |
combine(U initialBase,
java.util.Collection<T> options,
boolean ignoreEmptyOption)
TODO javadocs
|
private static final PolicyLogger LOGGER
public static <E,T extends java.util.Collection<? extends E>,U extends java.util.Collection<? extends E>> java.util.Collection<java.util.Collection<E>> combine(U initialBase,
java.util.Collection<T> options,
boolean ignoreEmptyOption)
initialBase - the combination base that will be present in each combination. May be null or empty.options - options that should be combined. May be null or empty.ignoreEmptyOption - flag identifies whether empty options should be ignored or whether the method should halt
processing and return null when an empty option is encountered