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:
-
Field Summary
Fields inherited from class com.electronwill.nightconfig.core.utils.TransformingCollection
internalCollection, readTransformation, searchTransformation, writeTransformation -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.electronwill.nightconfig.core.utils.TransformingCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
TransformingSet
-