AlpacaLibrary/Include/Core/Classes/HashTable.hpp

34 lines
846 B
C++
Raw Permalink Normal View History

2017-12-25 23:49:48 +00:00
#ifndef HASHTABLE_HPP_INCLUDED
#define HASHTABLE_HPP_INCLUDED
#include "../JavaClass/Object.hpp"
#include "../JavaClass/Class.hpp"
#include <vector>
#include "Node.hpp"
#include <cstdint>
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 HashTable : public Object
{
public:
HashTable(const void* Obj);
2018-12-27 18:17:09 +00:00
HashTable() = default;
HashTable(HashTable&& Obj) = default;
HashTable(const HashTable& Obj) = default;
HashTable& operator=(HashTable&& Obj) = default;
HashTable& operator=(const HashTable& 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
std::vector<Node> GetBuckets() const;
2018-03-22 01:15:01 +00:00
Node GetBuckets(std::int32_t I) const;
2018-03-18 14:38:29 +00:00
std::int32_t GetIndex() const;
std::int32_t GetSize() 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 // HASHTABLE_HPP_INCLUDED