Documentation ¶
Index ¶
- func NewArray(capacity int) []interface{}
- func NewMap() map[string]interface{}
- type Array
- type Dictionary
- func (d *Dictionary) Add(key string, value interface{}) bool
- func (d *Dictionary) Clear()
- func (d *Dictionary) ContainsKey(key string) bool
- func (d *Dictionary) ContainsValue(value interface{}) bool
- func (d *Dictionary) ForEach(fun func(string, interface{}))
- func (d *Dictionary) Get(key string) (interface{}, bool)
- func (d *Dictionary) KeyValuePairs() map[string]interface{}
- func (d *Dictionary) KeyValueStrings() map[string]string
- func (d *Dictionary) Len() int
- func (d *Dictionary) LoadJson(s string) error
- func (d *Dictionary) Raw() map[string]interface{}
- func (d *Dictionary) Remove(key string) bool
- func (d *Dictionary) Set(key string, value interface{})
- func (d *Dictionary) ToJson() (string, error)
- type HashSet
- func (h *HashSet) Add(item interface{}) bool
- func (h *HashSet) Clear()
- func (h *HashSet) Clone() *HashSet
- func (h *HashSet) Contains(item interface{}) bool
- func (h *HashSet) Except(another *HashSet) *HashSet
- func (h *HashSet) ExceptWith(another *HashSet)
- func (h *HashSet) ForEach(fun func(interface{}))
- func (h *HashSet) Intersect(another *HashSet) *HashSet
- func (h *HashSet) IntersectWith(another *HashSet)
- func (h *HashSet) IsSubset(another *HashSet) bool
- func (h *HashSet) IsSuperset(another *HashSet) bool
- func (h *HashSet) Items() []interface{}
- func (h *HashSet) Len() int
- func (h *HashSet) Remove(item interface{}) bool
- func (h *HashSet) Union(another *HashSet) *HashSet
- func (h *HashSet) UnionWith(another *HashSet)
- type HashTable
- func (h *HashTable) Add(key interface{}, value interface{}) bool
- func (h *HashTable) Clear()
- func (h *HashTable) ContainsKey(key interface{}) bool
- func (h *HashTable) ContainsValue(value interface{}) bool
- func (h *HashTable) ForEach(fun func(interface{}, interface{}))
- func (h *HashTable) Get(key interface{}) (interface{}, bool)
- func (h *HashTable) KeyValuePairs() map[interface{}]interface{}
- func (h *HashTable) Len() int
- func (h *HashTable) Raw() map[interface{}]interface{}
- func (h *HashTable) Remove(key interface{}) bool
- func (h *HashTable) Set(key interface{}, value interface{})
- type List
- func (l *List) Add(item interface{})
- func (l *List) Capacity() int
- func (l *List) Clear()
- func (l *List) Contains(item interface{}) bool
- func (l *List) ForEach(fun func(interface{}))
- func (l *List) Get(index int) (interface{}, error)
- func (l *List) IndexOf(item interface{}) int
- func (l *List) Insert(index int, item interface{}) error
- func (l *List) Items() []interface{}
- func (l *List) Len() int
- func (l *List) LoadJson(s string) error
- func (l *List) Raw() []interface{}
- func (l *List) Remove(item interface{}) bool
- func (l *List) RemoveAt(index int) error
- func (l *List) Set(index int, item interface{}) error
- func (l *List) ToJson() (string, error)
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dictionary ¶
func NewDictionary ¶
func NewDictionary() *Dictionary
func NewDictionaryRaw ¶
func NewDictionaryRaw(raw map[string]interface{}) *Dictionary
func (*Dictionary) Add ¶
func (d *Dictionary) Add(key string, value interface{}) bool
func (*Dictionary) Clear ¶
func (d *Dictionary) Clear()
func (*Dictionary) ContainsKey ¶
func (d *Dictionary) ContainsKey(key string) bool
func (*Dictionary) ContainsValue ¶
func (d *Dictionary) ContainsValue(value interface{}) bool
func (*Dictionary) ForEach ¶
func (d *Dictionary) ForEach(fun func(string, interface{}))
func (*Dictionary) Get ¶
func (d *Dictionary) Get(key string) (interface{}, bool)
func (*Dictionary) KeyValuePairs ¶
func (d *Dictionary) KeyValuePairs() map[string]interface{}
func (*Dictionary) KeyValueStrings ¶
func (d *Dictionary) KeyValueStrings() map[string]string
func (*Dictionary) Len ¶
func (d *Dictionary) Len() int
func (*Dictionary) LoadJson ¶
func (d *Dictionary) LoadJson(s string) error
func (*Dictionary) Raw ¶
func (d *Dictionary) Raw() map[string]interface{}
func (*Dictionary) Remove ¶
func (d *Dictionary) Remove(key string) bool
func (*Dictionary) Set ¶
func (d *Dictionary) Set(key string, value interface{})
func (*Dictionary) ToJson ¶
func (d *Dictionary) ToJson() (string, error)
type HashSet ¶
func NewHashSet ¶
func NewHashSet() *HashSet
func NewHashSetRaw ¶
func NewHashSetRaw(raw []interface{}) *HashSet
func (*HashSet) ExceptWith ¶
func (*HashSet) IntersectWith ¶
func (*HashSet) IsSuperset ¶
type HashTable ¶
func NewHashTable ¶
func NewHashTable() *HashTable
func NewHashTableRaw ¶
func NewHashTableRaw(raw map[interface{}]interface{}) *HashTable
func (*HashTable) ContainsKey ¶
func (*HashTable) ContainsValue ¶
func (*HashTable) KeyValuePairs ¶
func (h *HashTable) KeyValuePairs() map[interface{}]interface{}
type List ¶
func NewListRaw ¶
func NewListRaw(raw []interface{}) *List
Click to show internal directories.
Click to hide internal directories.