@FunctionalInterface public interface ParentReference<O>
Modifier and Type | Method and Description |
---|---|
void |
replace(O currentNode,
O newNode)
Replace the current node with the new node.
|
void replace(O currentNode, O newNode)
currentNode
- The current nodenewNode
- The new nodeIllegalArgumentException
- if the current node is not presentCopyright © 2014–2016. All rights reserved.