public class Options extends Object implements Serializable
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name) |
Object |
get(String name,
Object defaultValue) |
Options |
set(String name,
Object value)
shortcut method, call set with overwrite = true.
|
Options |
set(String name,
Object value,
boolean overwrite)
set an option.
|
String |
toString() |
CharSequence |
toString(boolean asFragment) |
public Options set(String name, Object value)
name - name of the optionvalue - new value of the option (if null, then remove the option)set(String,Object,boolean)public Options set(String name, Object value, boolean overwrite)
name - name of the optionvalue - new value of the option (if null, then remove the option)overwrite - if false and the value is already set, then the option is unchangedpublic CharSequence toString(boolean asFragment)
Copyright © 2015. All rights reserved.