public static final class ConfigData.Options extends Object
ConfigData.Option flags.| Modifier and Type | Field and Description |
|---|---|
static ConfigData.Options |
NONE
No options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(ConfigData.Option option)
Returns if the given option is contained in this set.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static ConfigData.Options |
of(ConfigData.Option... options)
Create a new instance with the given
ConfigData.Option values. |
String |
toString() |
ConfigData.Options |
with(ConfigData.Option option)
Create a new
ConfigData.Options instance that contains the options in this set
including the given option. |
ConfigData.Options |
without(ConfigData.Option option)
Create a new
ConfigData.Options instance that contains the options in this set
excluding the given option. |
public static final ConfigData.Options NONE
public boolean contains(ConfigData.Option option)
option - the option to checktrue of the option is presentpublic ConfigData.Options without(ConfigData.Option option)
ConfigData.Options instance that contains the options in this set
excluding the given option.option - the option to excludeConfigData.Options instancepublic ConfigData.Options with(ConfigData.Option option)
ConfigData.Options instance that contains the options in this set
including the given option.option - the option to includeConfigData.Options instancepublic static ConfigData.Options of(ConfigData.Option... options)
ConfigData.Option values.options - the options to includeConfigData.Options instance