java.lang.Object
org.evrete.util.EnumCombinationIterator<E>
- Type Parameters:
E- the type of the enum
- All Implemented Interfaces:
Iterator<E[]>
Provides an iterator for all combinations of enum values for a given enum class
E
inside a given array E[]. The total count is thus pow(enum length, array size).
The iterator reuses the given array rather than creating a new one for each iteration, leading to
faster performance and reduced memory footprint.