public static class PolicyUtils.Collections extends Object
| Constructor | Description |
|---|---|
Collections() |
| Modifier and Type | Method | Description |
|---|---|---|
static <E,T extends Collection<? extends E>,U extends Collection<? extends E>> |
combine(U initialBase,
Collection<T> options,
boolean ignoreEmptyOption) |
TODO javadocs
|
public static <E,T extends Collection<? extends E>,U extends Collection<? extends E>> Collection<Collection<E>> combine(U initialBase, 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 encounteredCopyright © 2006–2018 Oracle Corporation. All rights reserved.