Documentation ¶
Index ¶
- func StringComparer(a, b string) bool
- type ArithmeticProgression
- type Number
- type SequenceNumber
- type StringSet
- type StringSlice
- type Strings
- func (strs Strings) AllMatch(test func(string) bool) bool
- func (strs Strings) AnyMatch(test func(string) bool) bool
- func (strs Strings) Append(more ...string) Strings
- func (strs Strings) Concat(others ...Strings) Strings
- func (strs Strings) Contain(str string) bool
- func (strs Strings) Count() stl.Counter[string]
- func (strs Strings) Dup() Strings
- func (strs Strings) Empty() bool
- func (strs Strings) EnsureNotNil() Strings
- func (strs Strings) Equal(other Strings) bool
- func (strs Strings) Filter(filter func(string) bool) Strings
- func (strs Strings) FirstOneOrZero() string
- func (strs Strings) ForEach(handler func(string))
- func (strs Strings) ForEachPro(handler func(int, string, Strings))
- func (strs Strings) IndexOf(str string) int
- func (strs Strings) InplaceSort() Strings
- func (strs Strings) ItemsUnique() bool
- func (strs Strings) Join(sep string) string
- func (strs Strings) JoinByComma() string
- func (strs Strings) JoinByDot() string
- func (strs Strings) Len() int
- func (strs Strings) Map(mapper func(string) string) Strings
- func (strs Strings) MapWithSprintf(format string) Strings
- func (strs Strings) Native() StringSlice
- func (strs Strings) Purge(filter func(string) bool) Strings
- func (strs Strings) PurgeZero() Strings
- func (strs Strings) ReverseDup() Strings
- func (strs Strings) ReverseInplace() Strings
- func (strs Strings) Sort() Strings
- func (strs Strings) Split(seps ...string) Strings
- func (strs Strings) ToSet() StringSet
- func (strs Strings) TrimSpace() Strings
- func (strs Strings) Unique() Strings
- func (strs Strings) UniqueByInplaceSort() Strings
- func (strs Strings) UniqueBySet() Strings
- func (strs Strings) UniqueBySort() Strings
- func (strs Strings) UniqueSorteds() Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringComparer ¶
Types ¶
type ArithmeticProgression ¶ added in v1.0.65
type ArithmeticProgression[T Number] struct { // contains filtered or unexported fields }
func NewArithmeticProgression ¶ added in v1.0.65
func NewArithmeticProgression[T Number](start, delta T) *ArithmeticProgression[T]
func (*ArithmeticProgression[T]) Current ¶ added in v1.0.65
func (ap *ArithmeticProgression[T]) Current() T
func (*ArithmeticProgression[T]) Next ¶ added in v1.0.65
func (ap *ArithmeticProgression[T]) Next() T
type Number ¶ added in v1.0.65
type Number interface { constraints.Integer | constraints.Float }
type SequenceNumber ¶ added in v1.0.65
type SequenceNumber = ArithmeticProgression[int]
func NewSequenceNumber ¶ added in v1.0.65
func NewSequenceNumber() *SequenceNumber
func NewSequenceNumberPro ¶ added in v1.0.65
func NewSequenceNumberPro(start, delta int) *SequenceNumber
type StringSlice ¶
type StringSlice = []string
type Strings ¶
type Strings []string
func NewStrings ¶
func NewStringsFromSet ¶
func NewStringsFromStringSlice ¶
func NewStringsFromStringSlice(strs StringSlice) Strings
func SplitToStrings ¶ added in v1.0.49
func (Strings) EnsureNotNil ¶
func (Strings) FirstOneOrZero ¶ added in v1.0.49
func (Strings) InplaceSort ¶
func (Strings) ItemsUnique ¶ added in v1.0.53
func (Strings) JoinByComma ¶
func (Strings) MapWithSprintf ¶ added in v1.0.49
func (Strings) Native ¶
func (strs Strings) Native() StringSlice
func (Strings) ReverseDup ¶ added in v1.0.61
func (Strings) ReverseInplace ¶ added in v1.0.61
func (Strings) UniqueByInplaceSort ¶ added in v1.0.53
func (Strings) UniqueBySet ¶ added in v1.0.53
func (Strings) UniqueBySort ¶ added in v1.0.53
func (Strings) UniqueSorteds ¶
Click to show internal directories.
Click to hide internal directories.