AlpacaLibrary/Include/Core/Classes/HashTable.hpp

29 lines
645 B
C++
Raw 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();
HashTable(const void* Obj);
HashTable(const HashTable& H);
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