Versions in this module Expand all Collapse all v0 v0.1.1 Jan 20, 2024 v0.1.0 Dec 5, 2023 Changes in this version + const DefaultCapacity + func CreateIntListData(arraySize int, seed *int64) (headItems, tailItems, headItemsReverse, tailItemsReverse []int) + func CreateMinMaxTestData(arraySize int, seed *int64) (data []int, min int, max int) + func CreateRandInt(seed *int64) int + func CreateSerialIntListData(arraySize int, seed *int64) (headItems []int) + func CreateSerialMinMaxTestData(arraySize int, seed *int64) (data []int, min int, max int) + func CreateSerialSmallIntListData(arraySize int, seed *int64) (headItems, tailItems, headItemsReverse, tailItemsReverse []int) + func CreateSingleIntListData(arraySize int, seed *int64) []int + func CreateSmallIntListData(arraySize int, seed *int64) (headItems, tailItems, headItemsReverse, tailItemsReverse []int) + func CreateTimeListData(arraySize int, seed *int64) []time.Time + func DeepCopySlice[T any](dest, src []T, f functions.DeepCopyFunc[T]) + func DeepCopy[T any](value T, f functions.DeepCopyFunc[T]) T + func DefaultDeepCopy[T any](value T) T + func DefaultPredicate[T any](T) bool + func GetDefaultComparer[T any]() functions.ComparerFunc[T] + func GetLock[T any](c collections.Collection[T]) *sync.RWMutex + func GetTestMinMax(data []int) (int, int) + func GetVersion[T any](c collections.Collection[T]) int + func GosortDescending[T any](values []T, length int, compare functions.ComparerFunc[T]) + func Gosort[T any](values []T, length int, compare functions.ComparerFunc[T]) + func Iif[T any](pred bool, trueVal T, falseVal T) T + func IndexOf[T any](slc []T, value T, compare functions.ComparerFunc[T], concurrent bool) (index int) + func LastIndexOf[T any](slc []T, value T, compare functions.ComparerFunc[T], concurrent bool) (index int) + func Max[T any](slc []T, compare functions.ComparerFunc[T], concurrent bool) T + func Min[T any](slc []T, compare functions.ComparerFunc[T], concurrent bool) T + func PartialCopyDeep[T any](source []T, sourceIndex int, dest []T, destIndex int, length int, ...) + func PartialCopy[T any](source []T, sourceIndex int, dest []T, destIndex int, length int) + func ReverseSubset[T any](slc []T, start, length int) []T + func Reverse[T any](slc []T) []T + type ElementType struct + Collection collections.Collection[T] + ValueP *T + Version int + func NewElementType[T any](collection collections.Collection[T], val *T) *ElementType[T] + func (e *ElementType[T]) Value() T + func (e *ElementType[T]) ValuePtr() *T + type IteratorBase struct + NilElement collections.Element[T] + Version int + type SortFunc func([]T, int, functions.ComparerFunc[T])