4 #ifndef RUDIMENTS_SINGLYLINKEDLIST_H
5 #define RUDIMENTS_SINGLYLINKEDLIST_H
7 #include <rudiments/private/singlylinkedlistincludes.h>
11 template <
class valuetype>
32 int32_t
compare(valuetype value)
const;
47 #include <rudiments/private/singlylinkedlistnode.h>
63 template <
class valuetype >
85 void append(valuetype value);
124 bool remove(valuetype value);
192 void print(uint64_t count)
const;
194 #include <rudiments/private/singlylinkedlist.h>
198 #include <rudiments/private/singlylinkedlistinlines.h>
valuetype getValue() const
singlylinkedlistnode< valuetype > * getNext()
singlylinkedlistnode(valuetype value)
singlylinkedlistnode< valuetype > * getNext(singlylinkedlistnode< valuetype > *node)
void append(valuetype value)
bool removeAll(valuetype value)
uint64_t getLength() const
Definition: singlylinkedlist.h:64
singlylinkedlistnode< valuetype > * getFirst()
singlylinkedlistnode< valuetype > * find(valuetype value)
void setValue(valuetype value)
void prepend(valuetype value)
void moveAfter(singlylinkedlistnode< valuetype > *node, singlylinkedlistnode< valuetype > *nodetomove)
virtual ~singlylinkedlist()
Definition: singlylinkedlist.h:12
void detach(singlylinkedlistnode< valuetype > *node)
int32_t compare(valuetype value) const
void insertAfter(singlylinkedlistnode< valuetype > *node, valuetype value)
virtual ~singlylinkedlistnode()
singlylinkedlistnode< valuetype > * getLast()