Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BidirectionalIterable ¶
type BidirectionalIterable[T any] interface { BidIter() iterator.Bidirectional[T] }
type EnhanceIter ¶
type List ¶
type List[T any] interface { Iterable[T] EnhanceIter[T] PushBack(T) bool PushFront(T) bool PushBackIter(iterator.Base[T]) bool PushFrontIter(iterator.Base[T]) bool PushBackAllList(List[T]) int PushFrontAllList(List[T]) int PushBackAll(...T) int PushFrontAll(...T) int PopBack() T PopFront() T PopBackVerify() (T, bool) PopFrontVerify() (T, bool) Insert(int, T) bool InsertIter(int, iterator.Base[T]) bool Set(int, T) Get(int) T GetVerify(int) (T, bool) RemoveAtIndex(int) bool RemoveEquals(T) bool RemoveAllEquals(T) int Find(T) int Limit(int) Size() int Clear() IsEmpty() bool ToSlice() []T String() string Sort(comparison.OneSided[T]) ParallelSort(comparison.OneSided[T]) }
type Map ¶
type Map[K, V any] interface { Iterable[kv.Entry[K, V]] Put(key K, val V) bool PutEntry(entry kv.Entry[K, V]) bool PutAllPairs(pairs ...kv.Pair[K, V]) int PutIter(iter iterator.Base[kv.Entry[K, V]]) bool PutAllIter(start, stop iterator.Forward[kv.Entry[K, V]]) int ContainsKey(key K) bool Get(key K) V GetEntry(key K) kv.Entry[K, V] GetVerify(key K) (V, bool) GetIter(key K) iterator.Forward[kv.Entry[K, V]] Delete(key K) bool DeleteByWholeMapping(key K, val V, valComp comparison.OneSided[V]) bool DeleteByKeys(keys ...K) int DeleteEntryByKey(entry kv.Entry[K, V]) bool DeleteIterByKey(iter iterator.Base[kv.Entry[K, V]]) bool DeleteAllIterByKey(start, stop iterator.Forward[kv.Entry[K, V]]) int Size() int Clear() IsEmpty() bool String() string KeySlice() []K ValueSlice() []V EntrySlice() []kv.Entry[K, V] }
type ReverseIterable ¶
type Set ¶
type Set[T any] interface { Iterable[T] ReverseIterable[T] BidirectionalIterable[T] Size() int IsEmpty() bool Contains(T) bool ToSlice() []T Add(T) bool AddIter(base iterator.Base[T]) bool AddAll(...T) int AddAllIter(first, end iterator.Forward[T]) int Delete(T) bool DeleteAll(...T) int DeleteAllIter(first, end iterator.Forward[T]) int DeleteIter(base iterator.Base[T]) bool Clear() String() string }
Directories ¶
Path | Synopsis |
---|---|
associative
|
|
bplustree
Package bplustree adapt from: https://github.com/orange1438/BTree-and-BPlusTree-Realize
|
Package bplustree adapt from: https://github.com/orange1438/BTree-and-BPlusTree-Realize |
skiplist
Package skiplist : adapt from redis
|
Package skiplist : adapt from redis |
sequence
|
|
Click to show internal directories.
Click to hide internal directories.