| 程序包 | 说明 |
|---|---|
| org.tinygroup.commons.collection |
| 限定符和类型 | 方法和说明 |
|---|---|
ModelMap |
ModelMap.addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map, using attribute name generation for each element. |
ModelMap |
ModelMap.addAllAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this
Map. |
ModelMap |
ModelMap.addAllObjects(Collection<?> objects)
已过时。
as of Spring 2.5, in favor of
addAllAttributes(Collection) |
ModelMap |
ModelMap.addAllObjects(Map objects)
已过时。
as of Spring 2.5, in favor of
addAllAttributes(Map) |
ModelMap |
ModelMap.addAttribute(Object attributeValue)
Add the supplied attribute to this
Map using a
generated
name. |
ModelMap |
ModelMap.addAttribute(String attributeName,
Object attributeValue)
Add the supplied attribute under the supplied name.
|
ModelMap |
ModelMap.addObject(Object modelObject)
已过时。
as of Spring 2.5, in favor of
addAttribute(Object) |
ModelMap |
ModelMap.addObject(String modelName,
Object modelObject)
已过时。
as of Spring 2.5, in favor of
addAttribute(String, Object) |
ModelMap |
ModelMap.mergeAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this
Map, with existing objects of the same name taking
precedence (i.e. not getting replaced). |
Copyright © 2006–2018 TinyGroup. All rights reserved.