- add
Adds an option to the collection, replacing an existing Option of the same
concrete type if one exis
- get
Obtains the Option for a specified concrete type from the collection.Should the
Option not exist in
- addIfAbsent
Adds an Option to the collection if and only if an Option of the same type is
not already present.
- getOrSetDefault
Obtains the Option of a specified concrete type from the collection. Should the
type of Option not e
- of
Constructs a new OptionsByType based on the specified Options.
- addAll
Adds an array of Options to the collection.
- asArray
Obtains the current collection of Options as an array.
- empty
Constructs an empty OptionsByType collection.
- getOrDefault
Obtains the Option of a specified concrete type from the collection. Should the
type of Option not e
- getInstancesOf
Obtains an Iterable over all of the Options in the collection that are an
instance of the specified
- getClassOf
Obtains the concrete type that directly implements / extends the Option
interface, implemented by th
- remove
Removes the specified type of Option