java.lang.Object
io.quarkus.gizmo2.creator.ops.ObjectOps
io.quarkus.gizmo2.creator.ops.IteratorOps
Operations on an
Iterator.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(Expr action) hasNext()CallIterator.hasNext().next()CallIterator.next().voidremove()CallIterator.remove().
-
Constructor Details
-
IteratorOps
Construct a new instance.- Parameters:
bc- the block creator to wrap (must not benull)obj- the iterator object (must not benull)
-
-
Method Details
-
hasNext
CallIterator.hasNext().- Returns:
- the boolean result of the method call (not
null)
-
next
CallIterator.next().- Returns:
- the next iterator item (not
null)
-
remove
public void remove()CallIterator.remove(). -
forEachRemaining
- Parameters:
action- the consumer to pass to the function (notnull)
-