aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-23 12:15:43 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-23 12:15:43 +0100
commit5c2e4bbff7a2c9d8f59620b10a5ce6ff15bd9b01 (patch)
treedbfaab2dd35c813bc4ba9be1dd904581722b7515 /src/datastructures/linkedlists/HeadlessDoublyLinkedList.java
parentwhoops + add array sentinel linked lists (diff)
downloadalgorithms-and-data-structures-5c2e4bbff7a2c9d8f59620b10a5ce6ff15bd9b01.tar.gz
algorithms-and-data-structures-5c2e4bbff7a2c9d8f59620b10a5ce6ff15bd9b01.tar.bz2
algorithms-and-data-structures-5c2e4bbff7a2c9d8f59620b10a5ce6ff15bd9b01.tar.xz
m + code deduplication
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/datastructures/linkedlists/HeadlessDoublyLinkedList.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java b/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java
index e7ef98b..6bb2d91 100644
--- a/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java
+++ b/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java
@@ -34,7 +34,6 @@ package datastructures.linkedlists;
*
* @param <T> The value stored in the structure
*/
-public class HeadlessDoublyLinkedList<T>
-£>export with_head=0 with_tail=1 with_prev=1
-£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d'
+£>export name=HeadlessDoublyLinkedList with_sentinel=0 with_head=0 with_tail=1 with_prev=1
+£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' -e '/^$/d'