Class TransformingSet<InternalV,ExternalV>

java.lang.Object
com.electronwill.nightconfig.core.utils.TransformingCollection<InternalV,ExternalV>
com.electronwill.nightconfig.core.utils.TransformingSet<InternalV,ExternalV>
All Implemented Interfaces:
Iterable<ExternalV>, Collection<ExternalV>, Set<ExternalV>

public final class TransformingSet<InternalV,ExternalV> extends TransformingCollection<InternalV,ExternalV> implements Set<ExternalV>
A TransformingSet applies "just in time" transformations to an Set<InternalV> in order to make it like an Set<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 TransformingSet.

See Also: