diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-01-22 17:47:16 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-01-22 17:47:16 +0100 |
commit | 4ce399cb3781a8b86e59080cd705e1ee4548be0e (patch) | |
tree | 217938d36edb1258c27d9a90a115c430905e1f49 /src/datastructures/linkedlists/template | |
parent | add headless linked lists (diff) | |
download | algorithms-and-data-structures-4ce399cb3781a8b86e59080cd705e1ee4548be0e.tar.gz algorithms-and-data-structures-4ce399cb3781a8b86e59080cd705e1ee4548be0e.tar.bz2 algorithms-and-data-structures-4ce399cb3781a8b86e59080cd705e1ee4548be0e.tar.xz |
a public constructore for linked list nodes a level of flexibility to the data structures
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/datastructures/linkedlists/template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastructures/linkedlists/template b/src/datastructures/linkedlists/template index 71c6a84..07ceb60 100644 --- a/src/datastructures/linkedlists/template +++ b/src/datastructures/linkedlists/template @@ -26,7 +26,7 @@ * * @param value The value to store in the list */ - private Node(T value) + public Node(T value) { this.value = value; } |