Node{Item}: undo line wraps
This commit is contained in:
parent
8aa8abe329
commit
915a63f1b0
2 changed files with 3 additions and 6 deletions
|
@ -56,8 +56,7 @@ public interface Node<T> {
|
||||||
/**
|
/**
|
||||||
* Fetch the data held within the node.
|
* Fetch the data held within the node.
|
||||||
*
|
*
|
||||||
* @return an Optional containing the node's data, or empty if the node has
|
* @return an Optional containing the node's data, or empty if the node has none
|
||||||
* none
|
|
||||||
*/
|
*/
|
||||||
Optional<T> getData();
|
Optional<T> getData();
|
||||||
|
|
||||||
|
@ -138,8 +137,7 @@ public interface Node<T> {
|
||||||
*
|
*
|
||||||
* @return the found or created child node
|
* @return the found or created child node
|
||||||
*
|
*
|
||||||
* @deprecated use {@code node.findChild(child).orElseGet(() ->
|
* @deprecated use {@code node.findChild(child).orElseGet(() -> node.createChild(child))};
|
||||||
* node.createChild(child))};
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
Node<T> findOrCreateChild(T child);
|
Node<T> findOrCreateChild(T child);
|
||||||
|
|
|
@ -206,8 +206,7 @@ class NodeItem<T> implements Node<T> {
|
||||||
*
|
*
|
||||||
* @return the found or created child node
|
* @return the found or created child node
|
||||||
*
|
*
|
||||||
* @deprecated use node.findChild(child).orElseGet(() -> node.createChild
|
* @deprecated use node.findChild(child).orElseGet(() -> node.createChild (child));
|
||||||
* (child));
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
Loading…
Reference in a new issue