Class PolicyUtils.Collections

  • Enclosing class:
    PolicyUtils

    public static class PolicyUtils.Collections
    extends Object
    • Constructor Detail

      • Collections

        public Collections()
    • Method Detail

      • combine

        public static <E,​T extends Collection<? extends E>,​U extends Collection<? extends E>> Collection<Collection<E>> combine​(U initialBase,
                                                                                                                                            Collection<T> options,
                                                                                                                                            boolean ignoreEmptyOption)
        TODO javadocs
        Parameters:
        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
        Returns:
        TODO