Class EitherSingletonOrCollection<T>
java.lang.Object
io.usethesource.capsule.core.trie.EitherSingletonOrCollection<T>
- Direct Known Subclasses:
EitherSingletonOrCollection.SomeCollection,EitherSingletonOrCollection.SomeSingleton
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract Set.Immutable<T> (package private) abstract T(package private) abstract booleanstatic final <T> EitherSingletonOrCollectionof(Set.Immutable<T> value) static final <T> EitherSingletonOrCollection<T> of(T value)
-
Constructor Details
-
EitherSingletonOrCollection
public EitherSingletonOrCollection()
-
-
Method Details
-
of
-
of
-
isType
-
getSingleton
-
getCollection
-