java.lang.Object
io.quarkus.gizmo2.creator.ops.ObjectOps
io.quarkus.gizmo2.creator.ops.CollectionOps
io.quarkus.gizmo2.creator.ops.ListOps
Operations on
List.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int index) Generate a call toList.get(int).Generate a call toList.get(int).Methods inherited from class io.quarkus.gizmo2.creator.ops.CollectionOps
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, size
-
Constructor Details
-
ListOps
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 toList.get(int).- Parameters:
index- the index of the element to return (must not benull)- Returns:
- the expression of the result (not
null)
-
get
Generate a call toList.get(int).- Parameters:
index- the index of the element to return- Returns:
- the expression of the result (not
null)
-