public class Model extends Object
This class is not thread-safe.
Constructor and Description |
---|
Model()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Object... value)
Deprecated.
Adds the key/value pair, where are the values are added as a list.
|
void |
add(String key,
Object value)
Deprecated.
Adds the key/value pair.
|
Set<Map.Entry<String,Object>> |
entries()
Deprecated.
Returns all the key/value pairs.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
list(String key,
Object value)
Deprecated.
Adds the key/value pair, where are the value is added as a list.
|
void |
reset()
Deprecated.
Clears the model data.
|
void |
reset(String name)
Deprecated.
Removes the data with the name key.
|
String |
toString()
Deprecated.
|
public void reset()
public void reset(String name)
name
- key value to lookup and remove the value ofpublic void add(String key, Object value)
key
- key to addvalue
- value referenced by keypublic void add(String key, Object... value)
key
- specified key for key,value pairvalue
- referenced by keypublic void list(String key, Object value)
key
- specified key for key,value pairvalue
- referenced by keypublic Set<Map.Entry<String,Object>> entries()
Copyright © 2010–2017. All rights reserved.