Class EitherSingletonOrCollection.SomeSingleton<T>
java.lang.Object
io.usethesource.capsule.core.trie.EitherSingletonOrCollection<T>
io.usethesource.capsule.core.trie.EitherSingletonOrCollection.SomeSingleton<T>
- Enclosing class:
EitherSingletonOrCollection<T>
private static final class EitherSingletonOrCollection.SomeSingleton<T>
extends EitherSingletonOrCollection<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.usethesource.capsule.core.trie.EitherSingletonOrCollection
EitherSingletonOrCollection.Type
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Set.Immutable
<T> (package private) T
(package private) boolean
Methods inherited from class io.usethesource.capsule.core.trie.EitherSingletonOrCollection
of, of
-
Field Details
-
value
-
-
Constructor Details
-
SomeSingleton
-
-
Method Details
-
isType
- Specified by:
isType
in classEitherSingletonOrCollection<T>
-
getSingleton
T getSingleton()- Specified by:
getSingleton
in classEitherSingletonOrCollection<T>
-
getCollection
Set.Immutable<T> getCollection()- Specified by:
getCollection
in classEitherSingletonOrCollection<T>
-