java.lang.Object
io.quarkus.gizmo2.creator.ops.ObjectOps
io.quarkus.gizmo2.creator.ops.MapOps
Operations on
Map.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Generate a call toMap.clear().containsKey(Expr key) Generate a call toMap.containsKey(Object).entrySet()Generate a call toMap.entrySet().Generate a call toMap.get(Object).isEmpty()Generate a call toMap.isEmpty().keySet()Generate a call toMap.keySet().Generate a call toMap.put(Object, Object).Generate a call toMap.remove(Object).size()Generate a call toMap.size().values()Generate a call toMap.values().
-
Constructor Details
-
MapOps
Construct a new instance.- Parameters:
bc- the block creator (must not benull)obj- the list instance (must not benull)
-
-
Method Details
-
get
Generate a call toMap.get(Object).- Parameters:
key- the mapping key (must not benull)- Returns:
- the expression of the result (not
null)
-
put
Generate a call toMap.put(Object, Object).- Parameters:
key- the mapping key (must not benull)value- the mapping value (must not benull)- Returns:
- the expression of the result (not
null)
-
remove
Generate a call toMap.remove(Object).- Parameters:
key- the mapping key to remove (must not benull)- Returns:
- the expression of the result (not
null)
-
isEmpty
Generate a call toMap.isEmpty().- Returns:
- the expression of the result (not
null)
-
size
Generate a call toMap.size().- Returns:
- the expression of the result (not
null)
-
containsKey
Generate a call toMap.containsKey(Object).- Returns:
- the expression of the result (not
null)
-
clear
public void clear()Generate a call toMap.clear(). -
keySet
Generate a call toMap.keySet().- Returns:
- the expression of the result (not
null)
-
values
Generate a call toMap.values().- Returns:
- the expression of the result (not
null)
-
entrySet
Generate a call toMap.entrySet().- Returns:
- the expression of the result (not
null)
-