2017-12-25 23:49:48 +00:00
|
|
|
#ifndef LINKEDLIST_HPP_INCLUDED
|
|
|
|
#define LINKEDLIST_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../JavaClass/Object.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include "Node.hpp"
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class LinkedList : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LinkedList(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
LinkedList() = default;
|
|
|
|
LinkedList(LinkedList&& Obj) = default;
|
|
|
|
LinkedList(const LinkedList& Obj) = default;
|
|
|
|
LinkedList& operator=(LinkedList&& Obj) = default;
|
|
|
|
LinkedList& operator=(const LinkedList& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
Node GetHead() const;
|
|
|
|
Node GetTail() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // LINKEDLIST_HPP_INCLUDED
|