mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-08 02:04:31 +08:00
Add comment above parameterised constructor
This commit is contained in:
@ -321,6 +321,11 @@ class Node {
|
|||||||
this(value, null);
|
this(value, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* @param value Value to be put in the node
|
||||||
|
* @param next Reference to the next node
|
||||||
|
*/
|
||||||
Node(int value, Node next) {
|
Node(int value, Node next) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
this.next = next;
|
this.next = next;
|
||||||
|
Reference in New Issue
Block a user