mFrame
載入中...
搜尋中...
無符合項目
Hashcode.h
1
7#ifndef MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81
8#define MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15
16//----------------------------------------------------------------------------------------
17#include "./../lang/Object.h"
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace mframe::lang {
23 class Hashcode;
24} // namespace mframe::lang
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
30 /* *************************************************************************************
31 * Variable
32 */
33 private:
34 int mHahscode;
35
36 /* *************************************************************************************
37 * Abstract Method
38 */
39
40 /* *************************************************************************************
41 * Construct Method
42 */
43 public:
50
57
62 virtual ~Hashcode(void) override;
63
64 /* *************************************************************************************
65 * Operator Method
66 */
67
68 /* *************************************************************************************
69 * Public Method <Override> - mframe::lang::Object
70 */
71 public:
72 virtual int hashcode(void) const override;
73
74 /* *************************************************************************************
75 * Public Method
76 */
77
78 /* *************************************************************************************
79 * Protected Method
80 */
81
82 /* *************************************************************************************
83 * Private Method
84 */
85
86 /* *************************************************************************************
87 * Static Variable
88 */
89
90 /* *************************************************************************************
91 * Static Method
92 */
93};
94
95/* ***************************************************************************************
96 * End of file
97 */
98
99#endif /* MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81 */
Definition Hashcode.h:29
virtual int hashcode(void) const override
返回對象的哈希碼值。支持這種方法是為了散列表,如HashMap提供的那樣。
Hashcode(int hashcode)
Construct a new Hashcode object.
virtual ~Hashcode(void) override
Destroy the Hashcode object.
Hashcode(mframe::lang::Interface &interface)
Construct a new Hashcode object.
Definition Object.h:34
Definition Appendable.h:23
Definition Interface.h:134