aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastructures/linkedlists/sentinel-template
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-23 07:53:32 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-23 07:53:32 +0100
commit7161bfab379228d76884df313d55d15b06f9054d (patch)
treea601a26ee2c2341eb8d27d64799c64d4234df48a /src/datastructures/linkedlists/sentinel-template
parentadd sentinel singly linked list (diff)
downloadalgorithms-and-data-structures-7161bfab379228d76884df313d55d15b06f9054d.tar.gz
algorithms-and-data-structures-7161bfab379228d76884df313d55d15b06f9054d.tar.bz2
algorithms-and-data-structures-7161bfab379228d76884df313d55d15b06f9054d.tar.xz
add sentinel doubly linked list
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/datastructures/linkedlists/sentinel-template2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastructures/linkedlists/sentinel-template b/src/datastructures/linkedlists/sentinel-template
index 6d53ce5..43bebab 100644
--- a/src/datastructures/linkedlists/sentinel-template
+++ b/src/datastructures/linkedlists/sentinel-template
@@ -190,7 +190,7 @@
*/
public Node removeEnd()
{
- return removeEnd(this.edge);
+ return removeBefore(this.edge);
}
£>fi