Class DynamicListCombinationGenerator<T>

    • Field Detail

      • n

        protected int n
      • list

        protected List<T> list
      • producedValidCombination

        protected boolean producedValidCombination
      • state

        protected org.eclipse.epsilon.epl.combinations.DynamicListCombinationGenerator.State state
      • optional

        protected Boolean optional
    • Constructor Detail

      • DynamicListCombinationGenerator

        public DynamicListCombinationGenerator​(List<T> list,
                                               int n)
    • Method Detail

      • init

        protected void init​(List<T> list,
                            int n)
      • createCombinationGenerator

        protected void createCombinationGenerator()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<T>
      • nudgeList

        protected void nudgeList()
        Nudge the list so that it loads its contents if it's dynamic
      • checkOptional

        protected boolean checkOptional()
      • isOptional

        public final boolean isOptional()