aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastructures/linkedlists
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-22 17:47:16 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-22 17:47:16 +0100
commit4ce399cb3781a8b86e59080cd705e1ee4548be0e (patch)
tree217938d36edb1258c27d9a90a115c430905e1f49 /src/datastructures/linkedlists
parentadd headless linked lists (diff)
downloadalgorithms-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 'src/datastructures/linkedlists')
-rw-r--r--src/datastructures/linkedlists/template2
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;
}