Class TransformingSpliterator<InternalV,ExternalV>

java.lang.Object
com.electronwill.nightconfig.core.utils.TransformingSpliterator<InternalV,ExternalV>
All Implemented Interfaces:
Spliterator<ExternalV>

public final class TransformingSpliterator<InternalV,ExternalV> extends Object implements Spliterator<ExternalV>
A TransformingSpliterator applies "just in time" transformations to an Spliterator<InternalV> in order to make it like an Spliterator<ExternalV>.

The transformations are applied "just in time", that is, the values are converted only when they are used, not during the construction of the TransformingSpliterator.

See Also: