This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
method
Jim gross
Greenhorn
Joined: Sep 24, 2001
Posts: 4
posted
Sep 27, 2001 12:57:00
0
Hi,
How do I write a recursive method:
reverse(Node first,Node last)
Michael Ernest
High Plains Drifter
Sheriff
Joined: Oct 25, 2000
Posts: 7292
I like...
posted
Sep 27, 2001 13:41:00
0
public void reverse(Node first, Node last) { if (somenode != last) { // whatever "terminating condition" reverse(this, that); } return; }
------------------
Michael Ernest, co-author of:
The Complete Java 2 Certification Study Guide
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: method
Similar Threads
What is the result?
Replacing the content of a node with a text string
Put a node into a new xml document
oldskool linked list
acessing & adding to data structure elements
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter