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 class
private static final class
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract Set.Immutable
<T> (package private) abstract T
(package private) abstract boolean
static final <T> EitherSingletonOrCollection
of
(Set.Immutable<T> value) static final <T> EitherSingletonOrCollection
<T> of
(T value)
-
Constructor Details
-
EitherSingletonOrCollection
public EitherSingletonOrCollection()
-
-
Method Details
-
of
-
of
-
isType
-
getSingleton
-
getCollection
-