类的使用
cn.taketoday.ui.ConcurrentModel
使用ConcurrentModel的程序包
-
cn.taketoday.ui中ConcurrentModel的使用
修饰符和类型方法说明ConcurrentModel.addAllAttributes(Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.ConcurrentModel.addAllAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.ConcurrentModel.addAttribute(Object attributeValue) Add the supplied attribute to thisMapusing agenerated name.ConcurrentModel.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ConcurrentModel.mergeAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e. not getting replaced).