Documentation
¶
Index ¶
- type Map
- type MultiValueMap
- func (m *MultiValueMap) ContainsKey(key any) bool
- func (m *MultiValueMap) Empty() bool
- func (m *MultiValueMap) Get(key any) *listx.Arraylist
- func (m *MultiValueMap) Put(key any, value ...any) bool
- func (m *MultiValueMap) Remove(key any) bool
- func (m *MultiValueMap) Size() int
- func (m *MultiValueMap) Values(key any) *listx.Arraylist
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map key value mapping
func (*Map) ContainsKey ¶
ContainsKey check the key exist or not
type MultiValueMap ¶
type MultiValueMap struct {
// contains filtered or unexported fields
}
MultiValueMap one key mapping multi values
func NewMultiValueMap ¶
func NewMultiValueMap(cap int) *MultiValueMap
NewMultiValueMap multi values map
func (*MultiValueMap) ContainsKey ¶
func (m *MultiValueMap) ContainsKey(key any) bool
ContainsKey check the key exist or not
func (*MultiValueMap) Put ¶
func (m *MultiValueMap) Put(key any, value ...any) bool
Put value to mutil value map
func (*MultiValueMap) Remove ¶
func (m *MultiValueMap) Remove(key any) bool
Remove key from mutil value map
func (*MultiValueMap) Values ¶
func (m *MultiValueMap) Values(key any) *listx.Arraylist
Values by key
Click to show internal directories.
Click to hide internal directories.