Class RenderUnit.FluentMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.apache.sling.scripting.sightly.render.RenderUnit.FluentMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
- Enclosing class:
- RenderUnit
protected static class RenderUnit.FluentMap extends HashMap<String,Object>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FluentMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderUnit.FluentMap
with(String name, Object value)
Fluent variant of put.-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
with
public RenderUnit.FluentMap with(String name, Object value)
Fluent variant of put.- Parameters:
name
- the name of the propertyvalue
- the value of the property- Returns:
- this instance
-
-