Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

mutual recursion without threading

801092Feb 6 2011 — edited Feb 8 2011
Hello,

I have a question, how can one do mutual recursion without using threading?

What I am trying to do is have the following:

Function 1
Function 2
Function 1
Function 2

Meaning that the function alternate between the other.

I'm not looking for code, possibly pointing to the right direction, I've looked online and have not seen this type of mutual recursion.

Thank you in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2011
Added on Feb 6 2011
13 comments
256 views