org.jboss.errai.ioc.rebind.ioc.codegen.builder.impl
Class LoopBuilderImpl
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.codegen.builder.impl.AbstractStatementBuilder
org.jboss.errai.ioc.rebind.ioc.codegen.builder.impl.LoopBuilderImpl
- All Implemented Interfaces:
- Builder, ClosedBlock, ContextualLoopBuilder, LoopBuilder, StatementEnd, Statement
public class LoopBuilderImpl
- extends AbstractStatementBuilder
- implements ContextualLoopBuilder, LoopBuilder
StatementBuilder to generate loops.
- Author:
- Christian Sadilek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.errai.ioc.rebind.ioc.codegen.builder.Builder |
toJavaString |
LoopBuilderImpl
protected LoopBuilderImpl(Context context,
CallElementBuilder callElementBuilder)
foreach
public BlockBuilder<StatementEnd> foreach(String loopVarName)
- Specified by:
foreach in interface ContextualLoopBuilder
foreach
public BlockBuilder<StatementEnd> foreach(String loopVarName,
Class<?> loopVarType)
- Specified by:
foreach in interface ContextualLoopBuilder
do_
public BlockBuilder<WhileBuilder> do_()
- Specified by:
do_ in interface ContextualLoopBuilder- Specified by:
do_ in interface LoopBuilder
while_
public BlockBuilder<StatementEnd> while_()
- Specified by:
while_ in interface ContextualLoopBuilder
while_
public BlockBuilder<StatementEnd> while_(BooleanOperator op,
Object rhs)
- Specified by:
while_ in interface ContextualLoopBuilder
while_
public BlockBuilder<StatementEnd> while_(BooleanOperator op,
Statement rhs)
- Specified by:
while_ in interface ContextualLoopBuilder
while_
public BlockBuilder<StatementEnd> while_(BooleanExpression condition)
- Specified by:
while_ in interface LoopBuilder
for_
public BlockBuilder<StatementEnd> for_(BooleanExpression condition)
- Specified by:
for_ in interface LoopBuilder
for_
public BlockBuilder<StatementEnd> for_(Statement initializer,
BooleanExpression condition)
- Specified by:
for_ in interface ContextualLoopBuilder- Specified by:
for_ in interface LoopBuilder
for_
public BlockBuilder<StatementEnd> for_(Statement initializer,
BooleanExpression condition,
Statement countingExpression)
- Specified by:
for_ in interface ContextualLoopBuilder- Specified by:
for_ in interface LoopBuilder
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.