Wrap the body of a method in a while loop, nested in a try-catch. This is the first step in making a tail recursive method iterative. There are two ways to invoke the next iteration step:
Type | Name and description |
---|---|
private static GotoRecurHereException |
LOOP_EXCEPTION |
private static String |
LOOP_LABEL |
Constructor and description |
---|
InWhileLoopWrapper
() |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.