diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-01-23 12:15:43 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-01-23 12:15:43 +0100 |
commit | 5c2e4bbff7a2c9d8f59620b10a5ce6ff15bd9b01 (patch) | |
tree | dbfaab2dd35c813bc4ba9be1dd904581722b7515 /src/datastructures/linkedlists/TaillessSinglyLinkedList.java | |
parent | whoops + add array sentinel linked lists (diff) | |
download | algorithms-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 'src/datastructures/linkedlists/TaillessSinglyLinkedList.java')
-rw-r--r-- | src/datastructures/linkedlists/TaillessSinglyLinkedList.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/datastructures/linkedlists/TaillessSinglyLinkedList.java b/src/datastructures/linkedlists/TaillessSinglyLinkedList.java index 9dd3db8..ceccceb 100644 --- a/src/datastructures/linkedlists/TaillessSinglyLinkedList.java +++ b/src/datastructures/linkedlists/TaillessSinglyLinkedList.java @@ -33,7 +33,6 @@ package datastructures.linkedlists; * * @param <T> The value stored in the structure */ -public class TaillessSinglyLinkedList<T> -£>export with_head=1 with_tail=0 with_prev=0 -£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>export name=TaillessSinglyLinkedList with_sentinel=0 with_head=1 with_tail=0 with_prev=0 +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' -e '/^$/d' |