Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedHashMap ¶
type LinkedHashMap struct {
// contains filtered or unexported fields
}
LinkedHashMap 链接哈希表
func NewLinkedHashMap ¶
func NewLinkedHashMap() *LinkedHashMap
NewLinkedHashMap 新建LinkedHashMap @return *LinkedHashMap
func (*LinkedHashMap) Add ¶
func (linkMap *LinkedHashMap) Add(key string, val interface{}) bool
Add 添加一个KV到链接哈希表 @param key @param val @return bool
func (*LinkedHashMap) Get ¶
func (linkMap *LinkedHashMap) Get(key string) interface{}
Get 根据Key获得Value @param key @return interface{}
func (*LinkedHashMap) GetLinkList ¶
func (linkMap *LinkedHashMap) GetLinkList() *list.List
GetLinkList 以list结构返回 @return *list.List
func (*LinkedHashMap) Remove ¶
func (linkMap *LinkedHashMap) Remove(key string) (bool, interface{})
Remove 移除指定Key的KV @param key @return bool 是否移除成功 @return interface{} 被移除的对象Value
Click to show internal directories.
Click to hide internal directories.