Question: This is in java and using nodes /** * Remove the current element from this sequence. * @precondition * isCurrent() returns true. * @postcondition *
This is in java and using nodes
/** * Remove the current element from this sequence. * @precondition * isCurrent() returns true. * @postcondition * The current element has been removed from this sequence. * There is no longer any current element. * If there was no following element, then we are at the end. * @exception IllegalStateException * Indicates that there is no current element, so * removeCurrent may not be called. **/ public void removeCurrent( ) { }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
