| Package | Description |
|---|---|
| de.vandermeer.skb.categories.options |
Categories and implementations of options.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> Option<V> |
Option.create(IsKey<String> key,
IsValue<V> value,
OptionType type,
String description) |
static <V> Option<V> |
Option.create(String key,
V value) |
static <V> Option<V> |
Option.create(String key,
V value,
String description) |
Option<?> |
OptionList.getOption(String option)
Returns the option that uses the given string as option, null otherwise
|
| Modifier and Type | Method and Description |
|---|---|
OptionList |
OptionList.addOption(Option<?> option)
Adds an option to the list
|
OptionList |
OptionList.addOption(Option<?>[] options)
Adds options from an array to the list (all non-null options)
|
boolean |
OptionList.hasOption(Option<?> option)
Returns true if the list contains the option
|
| Modifier and Type | Method and Description |
|---|---|
OptionList |
OptionList.addOption(Collection<Option<?>> options)
Adds options from a collection to the list (all non-null options)
|
| Constructor and Description |
|---|
OptionList(Option<?> option)
Creates a new OptionList with given input option (if not null)
|
OptionList(Option<?>[] options)
Creates a new OptionList initialised with all non-null options from the array
|
| Constructor and Description |
|---|
OptionList(Collection<Option<?>> options)
Creates a new OptionList initialised with all non-null options from the collection
|
Copyright © 2010–2015. All rights reserved.