2017-12-25 23:49:48 +00:00
|
|
|
#ifndef CACHE_HPP_INCLUDED
|
|
|
|
#define CACHE_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../JavaClass/Object.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include "HashTable.hpp"
|
|
|
|
#include "Queue.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 Cache : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Cache(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
Cache() = default;
|
|
|
|
Cache(Cache&& Obj) = default;
|
|
|
|
Cache(const Cache& Obj) = default;
|
|
|
|
Cache& operator=(Cache&& Obj) = default;
|
|
|
|
Cache& operator=(const Cache& 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
|
|
|
HashTable GetHashTable() const;
|
|
|
|
Queue GetQueue() 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 // CACHE_HPP_INCLUDED
|