Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
type HashMap struct {
// contains filtered or unexported fields
}
func (*HashMap) Clear ¶
Clear removes all the element within map. It returns 1 if map exists, returns 0 otherwise.
func (*HashMap) Put ¶
Put Puts value at a key location under a specified map. It initializes an empty map if name does not exist. It returns zero if there is already a value at specified key, returns 1 otherwise.
func (*HashMap) PutIfAbsent ¶
PutIfAbsent Puts value at a key location under a specified map if it does not exist. It returns zero if there is already a value at specified key, returns 1 otherwise.
Click to show internal directories.
Click to hide internal directories.