public static class AttributesMap.Builder extends Object
AttributesMap.| Modifier and Type | Method and Description |
|---|---|
AttributesMap.Builder |
and(AttributesMap.Builder otherBuilder)
Add all attributes from another
AttributesMap.Builder |
AttributesMap.Builder |
and(AttributesMap otherMap)
Add all attributes from an existing
AttributesMap. |
<V> AttributesMap.Builder |
and(SetsNamedValue<V> attribute,
V value)
Add an attribute with a value.
|
<V> AttributesMap.Builder |
and(ViewableAsTuple<? extends SetsNamedValue<V>,V> attributeWithValue)
Add an attribute coupled with a value.
|
AttributesMap |
build() |
public <V> AttributesMap.Builder and(ViewableAsTuple<? extends SetsNamedValue<V>,V> attributeWithValue)
attributeWithValue - the attribute and the value.public <V> AttributesMap.Builder and(SetsNamedValue<V> attribute, V value)
attribute - the attributevalue - the value to bind to the attributepublic AttributesMap.Builder and(AttributesMap otherMap)
AttributesMap.otherMap - contains the other attributes to add.public AttributesMap.Builder and(AttributesMap.Builder otherBuilder)
AttributesMap.BuilderotherBuilder - contains the other attributes to addpublic AttributesMap build()
AttributesMap containing the attributes and
values added to the builder.Copyright © 2019 Digipost. All rights reserved.