public class Model extends Object
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Object... value)
Adds the key/value pair, where are the values are added as a list.
|
void |
add(String key,
Object value)
Adds the key/value pair.
|
Set<Map.Entry<String,Object>> |
entries()
Returns all the key/value pairs.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
list(String key,
Object value)
Adds the key/value pair, where are the value is added as a list.
|
void |
reset()
Clears the model data.
|
void |
reset(String name)
Removes the data with the name key.
|
String |
toString() |
public void reset()
public void reset(String name)
name
- public void add(String key, Object... value)
key
- value
- public void list(String key, Object value)
key
- value
- public Set<Map.Entry<String,Object>> entries()
Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.