Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IInt32Map ¶
type IInt32Map interface { Load(map[int32]ISystemObject) Put(int32, ISystemObject) Get(int32) (ISystemObject, bool) Remove(int32) Contains(int32) bool GetSize() int Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(int32)) ForEach(func(int32, ISystemObject)) ForEachParallel(func(int32, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentInt32Map ¶
func NewConcurrentInt32Map() IInt32Map
type IInt64Map ¶
type IInt64Map interface { Load(map[int64]ISystemObject) Put(int64, ISystemObject) Get(int64) (ISystemObject, bool) Remove(int64) Contains(int64) bool GetSize() int Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(int64)) ForEach(func(int64, ISystemObject)) ForEachParallel(func(int64, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentInt64Map ¶
func NewConcurrentInt64Map() IInt64Map
type IIntMap ¶
type IIntMap interface { Put(int, ISystemObject) Get(int) ISystemObject Remove(int) Contains(int) bool GetSize() int Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(int)) ForEach(func(int, ISystemObject)) ForEachParallel(func(int, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentIntMap ¶
func NewConcurrentIntMap() IIntMap
type IIntToStringMap ¶
type IIntToStringMap interface { Put(int32, string) Get(int32) string Remove(int32) Contains(int32) bool GetSize() int Clear() ForEachValue(func(string)) ForEachKey(func(int32)) ForEach(func(int32, string)) ForEachParallel(func(int32, string)) ForEachParallelWithInitialization(func(int) error, func(int32)) error ForEachParallelWithInterval(time.Duration, func(int32, string)) Filter(func(string) bool) []string Map(func(string) string) []string }
func NewConcurrentIntToStringMap ¶
func NewConcurrentIntToStringMap() IIntToStringMap
type IMap ¶
type IMap[T comparable, V any] interface { Put(T, V) Get(T) V Remove(T) Contains(T) bool GetSize() int Clear() ForEachValue(func(V)) ForEachKey(func(T)) ForEach(func(T, V)) ForEachParallel(func(T, V)) Filter(func(V) bool) []V Map(func(V) V) []V }
func NewConcurrentMap ¶
func NewConcurrentMap[T comparable, V any]() IMap[T, V]
type IOrderedInt32Map ¶
type IOrderedInt32Map interface { IInt32Map IndexOf(ISystemObject) int IndexOfKey(int32) int GetKeyAt(int) int32 GetValueAt(int) ISystemObject }
func NewConcurrentOrderedInt32Map ¶
func NewConcurrentOrderedInt32Map() IOrderedInt32Map
type IOrderedInt64Map ¶
type IOrderedInt64Map interface { IInt64Map IndexOf(ISystemObject) int IndexOfKey(int64) int GetKeyAt(int) int64 GetValueAt(int) ISystemObject }
func NewConcurrentOrderedInt64Map ¶
func NewConcurrentOrderedInt64Map() IOrderedInt64Map
func NewConcurrentSortedInt64Map ¶
func NewConcurrentSortedInt64Map() IOrderedInt64Map
type IPointerMap ¶
type IPointerMap interface { Put(Pointer, ISystemObject) Get(Pointer) ISystemObject Remove(Pointer) RemoveFirst() (Pointer, ISystemObject) GetFirst() (Pointer, ISystemObject) Contains(Pointer) bool GetSize() int GetAll() map[Pointer]ISystemObject Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(Pointer)) ForEach(func(Pointer, ISystemObject)) ForEachParallel(func(Pointer, ISystemObject)) ForEachParallelWithInitialization(func(int) error, func(Pointer)) error ForEachParallelWithInterval(time.Duration, func(Pointer, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentPointerMap ¶
func NewConcurrentPointerMap() IPointerMap
type ISlice ¶
type ISlice interface { Append(ISystemObject) AppendIfNotExist(ISystemObject) Remove(ISystemObject) GetSize() int Clear() ForEach(func(int, ISystemObject)) ForEachParallel(func(int, ISystemObject)) }
func NewConcurrentSlice ¶
func NewConcurrentSlice() ISlice
type IStringMap ¶
type IStringMap interface { Put(string, ISystemObject) Get(string) (ISystemObject, bool) Remove(string) Contains(string) bool GetSize() int Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(string)) ForEach(func(string, ISystemObject)) ForEachParallel(func(string, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentStringMap ¶
func NewConcurrentStringMap() IStringMap
type IStringToIntMap ¶
type IStringToIntMap interface { Put(string, int32) Get(string) int32 Remove(string) Contains(string) bool GetSize() int Clear() ForEachValue(func(int32)) ForEachKey(func(string)) ForEach(func(string, int32)) ForEachParallel(func(string, int32)) ForEachParallelWithInitialization(func(int) error, func(string)) error ForEachParallelWithInterval(time.Duration, func(string, int32)) Filter(func(int32) bool) []int32 Map(func(int32) int32) []int32 }
func NewConcurrentStringToIntMap ¶
func NewConcurrentStringToIntMap() IStringToIntMap
type IStringToStringMap ¶
type IStringToStringMap interface { Put(string, string) Get(string) string Remove(string) Contains(string) bool GetSize() int Clear() ForEachValue(func(string)) ForEachKey(func(string)) ForEach(func(string, string)) ForEachParallel(func(string, string)) ForEachParallelWithInitialization(func(int) error, func(string)) error ForEachParallelWithInterval(time.Duration, func(string, string)) Filter(func(string) bool) []string Map(func(string) string) []string }
func NewConcurrentStringToStringMap ¶
func NewConcurrentStringToStringMap() IStringToStringMap
type IUInt64Map ¶
type IUInt64Map interface { Put(uint64, ISystemObject) Get(uint64) (ISystemObject, bool) Remove(uint64) Contains(uint64) bool GetSize() int64 Clear() ForEachValue(func(ISystemObject)) ForEachKey(func(uint64)) ForEach(func(uint64, ISystemObject)) ForEachParallel(func(uint64, ISystemObject)) Filter(func(ISystemObject) bool) []ISystemObject Map(func(ISystemObject) ISystemObject) []ISystemObject }
func NewConcurrentUInt64Map ¶
func NewConcurrentUInt64Map() IUInt64Map
Source Files ¶
- concurrent_int32_map.go
- concurrent_int64_map.go
- concurrent_int_map.go
- concurrent_int_to_string_map.go
- concurrent_map.go
- concurrent_ordered_int32_map.go
- concurrent_ordered_int64_map.go
- concurrent_pointer_map.go
- concurrent_slice.go
- concurrent_sorted_int64_map.go
- concurrent_string_map.go
- concurrent_string_to_int_map.go
- concurrent_string_to_string_map.go
- concurrent_uint64_map.go
- int32_map_interface.go
- int64_map_interface.go
- int_map_interface.go
- int_to_string_map_interface.go
- map_interface.go
- pointer_map_interface.go
- slice_interface.go
- string_map_interface.go
- string_to_int_map_interface.go
- string_to_string_map_interface.go
- uint64_map_interface.go
Click to show internal directories.
Click to hide internal directories.