4 #ifndef RUDIMENTS_LINKEDLIST_H
5 #define RUDIMENTS_LINKEDLIST_H
7 #include <rudiments/private/linkedlistincludes.h>
10 template <
class valuetype>
31 int32_t
compare(valuetype value)
const;
50 #include <rudiments/private/linkedlistnode.h>
59 template <
class valuetype >
80 void append(valuetype value);
125 bool remove(valuetype value);
197 void print(uint64_t count)
const;
199 #include <rudiments/private/linkedlist.h>
203 #include <rudiments/private/linkedlistinlines.h>
void setValue(valuetype value)
void detach(linkedlistnode< valuetype > *node)
Definition: linkedlist.h:60
valuetype getValue() const
virtual ~linkedlistnode()
linkedlistnode< valuetype > * getPrevious(linkedlistnode< valuetype > *node)
linkedlistnode< valuetype > * getNext(linkedlistnode< valuetype > *node)
void append(valuetype value)
linkedlistnode(valuetype value)
void moveBefore(linkedlistnode< valuetype > *node, linkedlistnode< valuetype > *nodetomove)
linkedlistnode< valuetype > * find(valuetype value)
linkedlistnode< valuetype > * getLast()
linkedlistnode< valuetype > * getPrevious()
Definition: linkedlist.h:11
linkedlistnode< valuetype > * getFirst()
int32_t compare(valuetype value) const
void insertAfter(linkedlistnode< valuetype > *node, valuetype value)
void insertBefore(linkedlistnode< valuetype > *node, valuetype value)
bool removeAll(valuetype value)
void moveAfter(linkedlistnode< valuetype > *node, linkedlistnode< valuetype > *nodetomove)
linkedlistnode< valuetype > * getNext()
void prepend(valuetype value)
uint64_t getLength() const