Class RenderUnit.FluentMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- org.apache.sling.scripting.sightly.render.RenderUnit.FluentMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- RenderUnit
protected static class RenderUnit.FluentMap extends java.util.HashMap<java.lang.String,java.lang.Object>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFluentMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderUnit.FluentMapwith(java.lang.String name, java.lang.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
-
-
-
-
Method Detail
-
with
public RenderUnit.FluentMap with(java.lang.String name, java.lang.Object value)
Fluent variant of put.- Parameters:
name- the name of the propertyvalue- the value of the property- Returns:
- this instance
-
-