corestr

package
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 18 Imported by: 44

Documentation

Index

Constants

View Source
const (
	RegularCollectionEfficiencyLimit = 1000
	DoubleLimit                      = RegularCollectionEfficiencyLimit * 3

	NoElements = " {No Element}"
)

Variables

View Source
var (
	StaticJsonError = msgtype.EmptyResultCannotMakeJson.
					Error(constants.EmptyString, constants.EmptyString)
	ExpectingLengthForLeftRight      = constants.Two
	LeftRightExpectingLengthMessager = msgtype.ExpectingFuture(
		"Expecting length at least",
		ExpectingLengthForLeftRight)
)

Functions

func LengthOfPointerStrings added in v0.2.0

func LengthOfPointerStrings(stringItems *[]*string) int

func LengthOfStrings added in v0.2.0

func LengthOfStrings(stringItems *[]string) int

func LengthOfStringsOfPointerStrings added in v0.2.0

func LengthOfStringsOfPointerStrings(stringItems *[]*[]string) int

Types

type AnyToCollectionProcessor added in v0.2.0

type AnyToCollectionProcessor func(any interface{}, index int) *Collection

type CharCollectionDataModel

type CharCollectionDataModel struct {
	Items                  *map[byte]*Collection `json:"CharacterVsStringsCollectionMap"`
	EachCollectionCapacity int
}

func NewCharCollectionMapDataModelUsing

func NewCharCollectionMapDataModelUsing(dataIn *CharCollectionMap) *CharCollectionDataModel

type CharCollectionMap

type CharCollectionMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyCharCollectionMap

func EmptyCharCollectionMap() *CharCollectionMap

EmptyCharCollectionMap eachCollectionCapacity = 0

func NewCharCollectionMap

func NewCharCollectionMap(
	capacity, selfCollectionCapacity int,
) *CharCollectionMap

NewCharCollectionMap CharCollectionMap.eachCollectionCapacity, capacity minimum 10 will be set if lower than 10 is given.

For lower than 5 use the EmptyCharCollectionMap items definition.

func NewCharCollectionMapUsingDataModel

func NewCharCollectionMapUsingDataModel(dataModel *CharCollectionDataModel) *CharCollectionMap

func NewCharCollectionMapUsingItems added in v0.1.5

func NewCharCollectionMapUsingItems(
	items []string,
) *CharCollectionMap

func NewCharCollectionMapUsingItemsPlusCap added in v0.1.5

func NewCharCollectionMapUsingItemsPlusCap(
	items *[]string,
	additionalCapacityOrLength int,
	eachCollectionCapacity int,
) *CharCollectionMap

func NewCharCollectionMapUsingItemsPtr added in v0.1.5

func NewCharCollectionMapUsingItemsPtr(
	items *[]string,
) *CharCollectionMap

func (*CharCollectionMap) Add

func (charCollectionMap *CharCollectionMap) Add(
	str string,
) *CharCollectionMap

func (*CharCollectionMap) AddCharHashsetMap

func (charCollectionMap *CharCollectionMap) AddCharHashsetMap(
	charHashsetMap *CharHashsetMap,
) *CharCollectionMap

func (*CharCollectionMap) AddCollectionItems

func (charCollectionMap *CharCollectionMap) AddCollectionItems(
	collectionWithDiffStarts *Collection,
) *CharCollectionMap

func (*CharCollectionMap) AddCollectionItemsAsyncLock

func (charCollectionMap *CharCollectionMap) AddCollectionItemsAsyncLock(
	collectionWithDiffStarts *Collection,
	onComplete OnCompleteCharCollectionMap,
) *CharCollectionMap

func (*CharCollectionMap) AddHashmapsKeysOrValuesBothUsingFilter added in v0.1.9

func (charCollectionMap *CharCollectionMap) AddHashmapsKeysOrValuesBothUsingFilter(
	filter IsKeyValueFilter,
	hashmaps ...*Hashmap,
) *CharCollectionMap

func (*CharCollectionMap) AddHashmapsKeysValuesBoth added in v0.1.9

func (charCollectionMap *CharCollectionMap) AddHashmapsKeysValuesBoth(
	hashmaps ...*Hashmap,
) *CharCollectionMap

func (*CharCollectionMap) AddHashmapsValues added in v0.1.9

func (charCollectionMap *CharCollectionMap) AddHashmapsValues(
	hashmaps ...*Hashmap,
) *CharCollectionMap

func (*CharCollectionMap) AddLength

func (charCollectionMap *CharCollectionMap) AddLength(
	lengths ...int,
) *CharCollectionMap

func (*CharCollectionMap) AddLock

func (charCollectionMap *CharCollectionMap) AddLock(
	str string,
) *CharCollectionMap

func (*CharCollectionMap) AddPtrStringsLock

func (charCollectionMap *CharCollectionMap) AddPtrStringsLock(
	simpleStrings *[]*string,
) *CharCollectionMap

func (*CharCollectionMap) AddSameCharsCollection

func (charCollectionMap *CharCollectionMap) AddSameCharsCollection(
	str string,
	stringsWithSameStartChar *Collection,
) *Collection

func (*CharCollectionMap) AddSameCharsCollectionLock

func (charCollectionMap *CharCollectionMap) AddSameCharsCollectionLock(
	str string,
	stringsWithSameStartChar *Collection,
) *Collection

func (*CharCollectionMap) AddSameStartingCharItems

func (charCollectionMap *CharCollectionMap) AddSameStartingCharItems(
	char byte,
	allItemsWithSameChar *[]string,
	isCloneAdd bool,
) *CharCollectionMap

AddSameStartingCharItems Assuming all items starts with same chars

func (*CharCollectionMap) AddStringPtr

func (charCollectionMap *CharCollectionMap) AddStringPtr(
	str *string,
) *CharCollectionMap

func (*CharCollectionMap) AddStringPtrLock

func (charCollectionMap *CharCollectionMap) AddStringPtrLock(
	str *string,
) *CharCollectionMap

func (*CharCollectionMap) AddStrings

func (charCollectionMap *CharCollectionMap) AddStrings(
	items ...string,
) *CharCollectionMap

func (*CharCollectionMap) AddStringsPtr

func (charCollectionMap *CharCollectionMap) AddStringsPtr(
	items *[]string,
) *CharCollectionMap

func (*CharCollectionMap) AddStringsPtrAsyncLock

func (charCollectionMap *CharCollectionMap) AddStringsPtrAsyncLock(
	largeStringsCollection *[]string,
	onComplete OnCompleteCharCollectionMap,
) *CharCollectionMap

func (*CharCollectionMap) AllLengthsSum

func (charCollectionMap *CharCollectionMap) AllLengthsSum() int

AllLengthsSum All lengths sum.

func (*CharCollectionMap) AllLengthsSumLock

func (charCollectionMap *CharCollectionMap) AllLengthsSumLock() int

AllLengthsSumLock All lengths sum.

func (*CharCollectionMap) AsJsonMarshaller added in v0.1.6

func (charCollectionMap *CharCollectionMap) AsJsonMarshaller() corejson.JsonMarshaller

func (*CharCollectionMap) AsJsonParseSelfInjector added in v0.1.6

func (charCollectionMap *CharCollectionMap) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*CharCollectionMap) AsJsoner added in v0.1.6

func (charCollectionMap *CharCollectionMap) AsJsoner() corejson.Jsoner

func (*CharCollectionMap) Clear added in v0.2.0

func (charCollectionMap *CharCollectionMap) Clear() *CharCollectionMap

Clear clears existing items, deletes items using delete(*charCollectionMap.items, char)

func (*CharCollectionMap) GetChar

func (charCollectionMap *CharCollectionMap) GetChar(
	str string,
) byte

func (*CharCollectionMap) GetCharOfPtr

func (charCollectionMap *CharCollectionMap) GetCharOfPtr(
	str *string,
) byte

func (*CharCollectionMap) GetCharsPtrGroups

func (charCollectionMap *CharCollectionMap) GetCharsPtrGroups(
	items *[]string,
) *CharCollectionMap

func (*CharCollectionMap) GetCollection

func (charCollectionMap *CharCollectionMap) GetCollection(
	strFirstChar string,
	isAddNewOnEmpty bool,
) *Collection

func (*CharCollectionMap) GetCollectionByChar

func (charCollectionMap *CharCollectionMap) GetCollectionByChar(
	char byte,
) *Collection

func (*CharCollectionMap) GetCollectionLock

func (charCollectionMap *CharCollectionMap) GetCollectionLock(
	strFirstChar string,
	isAddNewOnEmpty bool,
) *Collection

func (*CharCollectionMap) GetCopyMapLock

func (charCollectionMap *CharCollectionMap) GetCopyMapLock() *map[byte]*Collection

GetCopyMapLock Sends a copy of items

func (*CharCollectionMap) GetMap

func (charCollectionMap *CharCollectionMap) GetMap() *map[byte]*Collection

func (*CharCollectionMap) Has

func (charCollectionMap *CharCollectionMap) Has(
	str string,
) bool

func (*CharCollectionMap) HasItems added in v0.3.0

func (charCollectionMap *CharCollectionMap) HasItems() bool

func (*CharCollectionMap) HasWithCollection

func (charCollectionMap *CharCollectionMap) HasWithCollection(
	str string,
) (bool, *Collection)

func (*CharCollectionMap) HasWithCollectionLock

func (charCollectionMap *CharCollectionMap) HasWithCollectionLock(
	str string,
) (bool, *Collection)

func (*CharCollectionMap) HashsetByChar

func (charCollectionMap *CharCollectionMap) HashsetByChar(
	char byte,
) *Hashset

func (*CharCollectionMap) HashsetByCharLock

func (charCollectionMap *CharCollectionMap) HashsetByCharLock(
	char byte,
) *Hashset

func (*CharCollectionMap) HashsetByStringFirstChar

func (charCollectionMap *CharCollectionMap) HashsetByStringFirstChar(
	str string,
) *Hashset

func (*CharCollectionMap) HashsetByStringFirstCharLock

func (charCollectionMap *CharCollectionMap) HashsetByStringFirstCharLock(
	str string,
) *Hashset

func (*CharCollectionMap) HashsetsCollection

func (charCollectionMap *CharCollectionMap) HashsetsCollection() *HashsetsCollection

func (*CharCollectionMap) HashsetsCollectionByChars

func (charCollectionMap *CharCollectionMap) HashsetsCollectionByChars(
	chars ...byte,
) *HashsetsCollection

func (*CharCollectionMap) HashsetsCollectionByStringFirstChar

func (charCollectionMap *CharCollectionMap) HashsetsCollectionByStringFirstChar(
	stringItems ...string,
) *HashsetsCollection

func (*CharCollectionMap) IsEmpty

func (charCollectionMap *CharCollectionMap) IsEmpty() bool

func (*CharCollectionMap) IsEmptyLock

func (charCollectionMap *CharCollectionMap) IsEmptyLock() bool

func (*CharCollectionMap) IsEqualsPtr

func (charCollectionMap *CharCollectionMap) IsEqualsPtr(
	another *CharCollectionMap,
) bool

func (*CharCollectionMap) IsEqualsPtrLock

func (charCollectionMap *CharCollectionMap) IsEqualsPtrLock(
	another *CharCollectionMap,
) bool

func (*CharCollectionMap) IsEqualsWithCaseSensitivityPtr

func (charCollectionMap *CharCollectionMap) IsEqualsWithCaseSensitivityPtr(
	another *CharCollectionMap,
	isCaseSensitive bool,
) bool

func (*CharCollectionMap) IsEqualsWithCaseSensitivityPtrLock

func (charCollectionMap *CharCollectionMap) IsEqualsWithCaseSensitivityPtrLock(
	another *CharCollectionMap,
	isCaseSensitive bool,
) bool

func (*CharCollectionMap) Json

func (charCollectionMap *CharCollectionMap) Json() *corejson.Result

func (*CharCollectionMap) JsonModel

func (charCollectionMap *CharCollectionMap) JsonModel() *CharCollectionDataModel

func (*CharCollectionMap) JsonModelAny added in v0.1.6

func (charCollectionMap *CharCollectionMap) JsonModelAny() interface{}

func (*CharCollectionMap) JsonParseSelfInject added in v0.1.6

func (charCollectionMap *CharCollectionMap) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*CharCollectionMap) Length

func (charCollectionMap *CharCollectionMap) Length() int

Length Returns the length of chars which is the map length.

func (*CharCollectionMap) LengthLock

func (charCollectionMap *CharCollectionMap) LengthLock() int

func (*CharCollectionMap) LengthOf

func (charCollectionMap *CharCollectionMap) LengthOf(char byte) int

func (*CharCollectionMap) LengthOfCollectionFromFirstChar

func (charCollectionMap *CharCollectionMap) LengthOfCollectionFromFirstChar(
	str string,
) int

LengthOfCollectionFromFirstChar Get the char of the string given and get the length of how much is there.

func (*CharCollectionMap) LengthOfLock

func (charCollectionMap *CharCollectionMap) LengthOfLock(char byte) int

func (*CharCollectionMap) List

func (charCollectionMap *CharCollectionMap) List() *[]string

func (*CharCollectionMap) ListLock

func (charCollectionMap *CharCollectionMap) ListLock() *[]string

func (*CharCollectionMap) MarshalJSON

func (charCollectionMap *CharCollectionMap) MarshalJSON() ([]byte, error)

func (*CharCollectionMap) ParseInjectUsingJson

func (charCollectionMap *CharCollectionMap) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*CharCollectionMap, error)

func (*CharCollectionMap) ParseInjectUsingJsonMust

func (charCollectionMap *CharCollectionMap) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *CharCollectionMap

ParseInjectUsingJsonMust Panic if error

func (*CharCollectionMap) Print

func (charCollectionMap *CharCollectionMap) Print(isPrint bool)

func (*CharCollectionMap) PrintLock

func (charCollectionMap *CharCollectionMap) PrintLock(isPrint bool)

func (*CharCollectionMap) Resize

func (charCollectionMap *CharCollectionMap) Resize(
	newLength int,
) *CharCollectionMap

func (*CharCollectionMap) SortedListAsc added in v0.1.9

func (charCollectionMap *CharCollectionMap) SortedListAsc() *[]string

func (*CharCollectionMap) String

func (charCollectionMap *CharCollectionMap) String() string

func (*CharCollectionMap) StringLock

func (charCollectionMap *CharCollectionMap) StringLock() string

func (*CharCollectionMap) SummaryString

func (charCollectionMap *CharCollectionMap) SummaryString() string

func (*CharCollectionMap) SummaryStringLock

func (charCollectionMap *CharCollectionMap) SummaryStringLock() string

func (*CharCollectionMap) UnmarshalJSON

func (charCollectionMap *CharCollectionMap) UnmarshalJSON(data []byte) error

type CharHashsetDataModel added in v0.1.6

type CharHashsetDataModel struct {
	Items               *map[byte]*Hashset `json:"CharacterVsHashsetMap"`
	EachHashsetCapacity int
}

func NewCharHashsetMapDataModelUsing added in v0.1.6

func NewCharHashsetMapDataModelUsing(dataIn *CharHashsetMap) *CharHashsetDataModel

type CharHashsetMap

type CharHashsetMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyCharHashsetMap

func EmptyCharHashsetMap() *CharHashsetMap

EmptyCharHashsetMap eachHashsetCapacity = 0

func NewCharHashsetMap

func NewCharHashsetMap(
	capacity, selfHashsetCapacity int,
) *CharHashsetMap

NewCharHashsetMap CharHashsetMap.eachHashsetCapacity, capacity minimum 10 will be set if lower than 10 is given.

For lower than 5 use the EmptyCharHashsetMap hashset definition.

func NewCharHashsetMapUsingDataModel added in v0.1.6

func NewCharHashsetMapUsingDataModel(dataModel *CharHashsetDataModel) *CharHashsetMap

func NewCharHashsetMapUsingItems added in v0.1.5

func NewCharHashsetMapUsingItems(
	items []string,
	selfHashsetCapacity int,
) *CharHashsetMap

func NewCharHashsetMapUsingItemsPlusCap added in v0.1.5

func NewCharHashsetMapUsingItemsPlusCap(
	items *[]string,
	capacity, selfHashsetCapacity int,
) *CharHashsetMap

func NewCharHashsetMapUsingItemsPtr added in v0.1.5

func NewCharHashsetMapUsingItemsPtr(
	items *[]string,
	selfHashsetCapacity int,
) *CharHashsetMap

func (*CharHashsetMap) Add

func (charHashsetMap *CharHashsetMap) Add(
	str string,
) *CharHashsetMap

func (*CharHashsetMap) AddCharCollectionMapItems

func (charHashsetMap *CharHashsetMap) AddCharCollectionMapItems(
	charCollectionMap *CharCollectionMap,
) *CharHashsetMap

func (*CharHashsetMap) AddCollectionItems

func (charHashsetMap *CharHashsetMap) AddCollectionItems(
	collectionWithDiffStarts *Collection,
) *CharHashsetMap

func (*CharHashsetMap) AddCollectionItemsAsyncLock

func (charHashsetMap *CharHashsetMap) AddCollectionItemsAsyncLock(
	collectionWithDiffStarts *Collection,
	onComplete OnCompleteCharHashsetMap,
) *CharHashsetMap

func (*CharHashsetMap) AddHashsetItems

func (charHashsetMap *CharHashsetMap) AddHashsetItems(
	hashsetWithDiffStarts *Hashset,
) *CharHashsetMap

func (*CharHashsetMap) AddHashsetItemsAsyncLock

func (charHashsetMap *CharHashsetMap) AddHashsetItemsAsyncLock(
	hashsetWithDiffStarts *Hashset,
	onComplete OnCompleteCharHashsetMap,
) *CharHashsetMap

func (*CharHashsetMap) AddHashsetLock

func (charHashsetMap *CharHashsetMap) AddHashsetLock(
	str string,
	stringsWithSameStartChar *Hashset,
) *Hashset

func (*CharHashsetMap) AddLock

func (charHashsetMap *CharHashsetMap) AddLock(
	str string,
) *CharHashsetMap

func (*CharHashsetMap) AddPtrStringsLock

func (charHashsetMap *CharHashsetMap) AddPtrStringsLock(
	simpleStrings *[]*string,
) *CharHashsetMap

func (*CharHashsetMap) AddSameCharsCollection

func (charHashsetMap *CharHashsetMap) AddSameCharsCollection(
	str string,
	stringsWithSameStartChar *Collection,
) *Hashset

func (*CharHashsetMap) AddSameCharsCollectionLock

func (charHashsetMap *CharHashsetMap) AddSameCharsCollectionLock(
	str string,
	stringsWithSameStartChar *Collection,
) *Hashset

func (*CharHashsetMap) AddSameCharsHashset

func (charHashsetMap *CharHashsetMap) AddSameCharsHashset(
	str string,
	stringsWithSameStartChar *Hashset,
) *Hashset

func (*CharHashsetMap) AddSameStartingCharItems

func (charHashsetMap *CharHashsetMap) AddSameStartingCharItems(
	char byte,
	allItemsWithSameChar *[]string,
) *CharHashsetMap

AddSameStartingCharItems Assuming all items starts with same chars

func (*CharHashsetMap) AddStringPtr

func (charHashsetMap *CharHashsetMap) AddStringPtr(
	str *string,
) *CharHashsetMap

func (*CharHashsetMap) AddStringPtrLock

func (charHashsetMap *CharHashsetMap) AddStringPtrLock(
	str *string,
) *CharHashsetMap

func (*CharHashsetMap) AddStrings

func (charHashsetMap *CharHashsetMap) AddStrings(
	items ...string,
) *CharHashsetMap

func (*CharHashsetMap) AddStringsPtr

func (charHashsetMap *CharHashsetMap) AddStringsPtr(
	items *[]string,
) *CharHashsetMap

func (*CharHashsetMap) AddStringsPtrAsyncLock

func (charHashsetMap *CharHashsetMap) AddStringsPtrAsyncLock(
	largeStringsHashset *[]string,
	onComplete OnCompleteCharHashsetMap,
) *CharHashsetMap

func (*CharHashsetMap) AllLengthsSum

func (charHashsetMap *CharHashsetMap) AllLengthsSum() int

AllLengthsSum All lengths sum.

func (*CharHashsetMap) AllLengthsSumLock

func (charHashsetMap *CharHashsetMap) AllLengthsSumLock() int

AllLengthsSumLock All lengths sum.

func (*CharHashsetMap) AsJsonMarshaller added in v0.1.6

func (charHashsetMap *CharHashsetMap) AsJsonMarshaller() corejson.JsonMarshaller

func (*CharHashsetMap) AsJsonParseSelfInjector added in v0.1.6

func (charHashsetMap *CharHashsetMap) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*CharHashsetMap) AsJsoner added in v0.1.6

func (charHashsetMap *CharHashsetMap) AsJsoner() corejson.Jsoner

func (*CharHashsetMap) Clear added in v0.2.0

func (charHashsetMap *CharHashsetMap) Clear() *CharHashsetMap

Clear points to a new map and collects old pointer and remove all elements from pointer in separate goroutine.

func (*CharHashsetMap) GetChar

func (charHashsetMap *CharHashsetMap) GetChar(
	str string,
) byte

func (*CharHashsetMap) GetCharOfPtr

func (charHashsetMap *CharHashsetMap) GetCharOfPtr(
	str *string,
) byte

func (*CharHashsetMap) GetCharsPtrGroups

func (charHashsetMap *CharHashsetMap) GetCharsPtrGroups(
	items *[]string,
) *CharHashsetMap

func (*CharHashsetMap) GetCopyMapLock

func (charHashsetMap *CharHashsetMap) GetCopyMapLock() *map[byte]*Hashset

GetCopyMapLock Sends a copy of items

func (*CharHashsetMap) GetHashset

func (charHashsetMap *CharHashsetMap) GetHashset(
	strFirstChar string,
	isAddNewOnEmpty bool,
) *Hashset

func (*CharHashsetMap) GetHashsetByChar

func (charHashsetMap *CharHashsetMap) GetHashsetByChar(
	char byte,
) *Hashset

func (*CharHashsetMap) GetHashsetLock

func (charHashsetMap *CharHashsetMap) GetHashsetLock(
	strFirstChar string,
	isAddNewOnEmpty bool,
) *Hashset

func (*CharHashsetMap) GetMap

func (charHashsetMap *CharHashsetMap) GetMap() *map[byte]*Hashset

func (*CharHashsetMap) Has

func (charHashsetMap *CharHashsetMap) Has(
	str string,
) bool

func (*CharHashsetMap) HasItems added in v0.3.0

func (charHashsetMap *CharHashsetMap) HasItems() bool

func (*CharHashsetMap) HasWithHashset

func (charHashsetMap *CharHashsetMap) HasWithHashset(
	str string,
) (bool, *Hashset)

func (*CharHashsetMap) HasWithHashsetLock

func (charHashsetMap *CharHashsetMap) HasWithHashsetLock(
	str string,
) (bool, *Hashset)

func (*CharHashsetMap) HashsetByChar

func (charHashsetMap *CharHashsetMap) HashsetByChar(
	char byte,
) *Hashset

func (*CharHashsetMap) HashsetByCharLock

func (charHashsetMap *CharHashsetMap) HashsetByCharLock(
	char byte,
) *Hashset

func (*CharHashsetMap) HashsetByStringFirstChar

func (charHashsetMap *CharHashsetMap) HashsetByStringFirstChar(
	str string,
) *Hashset

func (*CharHashsetMap) HashsetByStringFirstCharLock

func (charHashsetMap *CharHashsetMap) HashsetByStringFirstCharLock(
	str string,
) *Hashset

func (*CharHashsetMap) HashsetsCollection

func (charHashsetMap *CharHashsetMap) HashsetsCollection() *HashsetsCollection

func (*CharHashsetMap) HashsetsCollectionByChars

func (charHashsetMap *CharHashsetMap) HashsetsCollectionByChars(
	chars ...byte,
) *HashsetsCollection

func (*CharHashsetMap) HashsetsCollectionByStringsFirstChar

func (charHashsetMap *CharHashsetMap) HashsetsCollectionByStringsFirstChar(
	stringItems ...string,
) *HashsetsCollection

func (*CharHashsetMap) IsEmpty

func (charHashsetMap *CharHashsetMap) IsEmpty() bool

func (*CharHashsetMap) IsEmptyLock

func (charHashsetMap *CharHashsetMap) IsEmptyLock() bool

func (*CharHashsetMap) IsEqualsPtr

func (charHashsetMap *CharHashsetMap) IsEqualsPtr(
	another *CharHashsetMap,
) bool

func (*CharHashsetMap) IsEqualsPtrLock

func (charHashsetMap *CharHashsetMap) IsEqualsPtrLock(
	another *CharHashsetMap,
) bool

func (*CharHashsetMap) Json added in v0.1.6

func (charHashsetMap *CharHashsetMap) Json() *corejson.Result

func (*CharHashsetMap) JsonModel added in v0.1.6

func (charHashsetMap *CharHashsetMap) JsonModel() *CharHashsetDataModel

func (*CharHashsetMap) JsonModelAny added in v0.1.6

func (charHashsetMap *CharHashsetMap) JsonModelAny() interface{}

func (*CharHashsetMap) JsonParseSelfInject added in v0.1.6

func (charHashsetMap *CharHashsetMap) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*CharHashsetMap) Length

func (charHashsetMap *CharHashsetMap) Length() int

func (*CharHashsetMap) LengthLock

func (charHashsetMap *CharHashsetMap) LengthLock() int

func (*CharHashsetMap) LengthOf

func (charHashsetMap *CharHashsetMap) LengthOf(char byte) int

func (*CharHashsetMap) LengthOfHashsetFromFirstChar

func (charHashsetMap *CharHashsetMap) LengthOfHashsetFromFirstChar(
	str string,
) int

LengthOfHashsetFromFirstChar Get the char of the string given and get the length of how much is there.

func (*CharHashsetMap) LengthOfLock

func (charHashsetMap *CharHashsetMap) LengthOfLock(char byte) int

func (*CharHashsetMap) List added in v0.1.9

func (charHashsetMap *CharHashsetMap) List() *[]string

func (*CharHashsetMap) MarshalJSON added in v0.1.6

func (charHashsetMap *CharHashsetMap) MarshalJSON() ([]byte, error)

func (*CharHashsetMap) ParseInjectUsingJson added in v0.1.6

func (charHashsetMap *CharHashsetMap) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*CharHashsetMap, error)

func (*CharHashsetMap) ParseInjectUsingJsonMust added in v0.1.6

func (charHashsetMap *CharHashsetMap) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *CharHashsetMap

ParseInjectUsingJsonMust Panic if error

func (*CharHashsetMap) Print

func (charHashsetMap *CharHashsetMap) Print(isPrint bool)

func (*CharHashsetMap) PrintLock

func (charHashsetMap *CharHashsetMap) PrintLock(isPrint bool)

func (*CharHashsetMap) RemoveAll added in v0.2.0

func (charHashsetMap *CharHashsetMap) RemoveAll() *CharHashsetMap

RemoveAll remove all existing items, deletes items using delete(*charCollectionMap.items, char), expensive operation

func (*CharHashsetMap) SortedListAsc added in v0.1.9

func (charHashsetMap *CharHashsetMap) SortedListAsc() *[]string

func (*CharHashsetMap) SortedListDsc added in v0.1.9

func (charHashsetMap *CharHashsetMap) SortedListDsc() *[]string

func (*CharHashsetMap) String

func (charHashsetMap *CharHashsetMap) String() string

func (*CharHashsetMap) StringLock

func (charHashsetMap *CharHashsetMap) StringLock() string

func (*CharHashsetMap) SummaryString

func (charHashsetMap *CharHashsetMap) SummaryString() string

func (*CharHashsetMap) SummaryStringLock

func (charHashsetMap *CharHashsetMap) SummaryStringLock() string

func (*CharHashsetMap) UnmarshalJSON added in v0.1.6

func (charHashsetMap *CharHashsetMap) UnmarshalJSON(data []byte) error

type Collection

type Collection struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyCollection

func EmptyCollection() *Collection

func NewCollection

func NewCollection(capacity int) *Collection

func NewCollectionDataModelUsingDataModel

func NewCollectionDataModelUsingDataModel(dataModel *CollectionDataModel) *Collection

func NewCollectionUsingLength

func NewCollectionUsingLength(length, capacity int) *Collection

func NewCollectionUsingPointerStringsPlusCap added in v0.2.0

func NewCollectionUsingPointerStringsPlusCap(stringItems *[]*string, capacity int) *Collection

func NewCollectionUsingStrings

func NewCollectionUsingStrings(stringItems *[]string, isMakeClone bool) *Collection

func NewCollectionUsingStringsPlusCap added in v0.2.0

func NewCollectionUsingStringsPlusCap(stringItems *[]string, capacity int) *Collection

func (*Collection) Add

func (collection *Collection) Add(str string) *Collection

func (*Collection) AddCapacity

func (collection *Collection) AddCapacity(
	capacities ...int,
) *Collection

func (*Collection) AddCollection added in v0.2.0

func (collection *Collection) AddCollection(collectionIn *Collection) *Collection

func (*Collection) AddCollections added in v0.2.0

func (collection *Collection) AddCollections(collectionsIn ...*Collection) *Collection

AddCollections skip on nil

func (*Collection) AddFunc added in v0.4.1

func (collection *Collection) AddFunc(f func() string) *Collection

func (*Collection) AddFuncErr added in v0.4.1

func (collection *Collection) AddFuncErr(
	funcReturnsStringError func() (result string, err error),
	errHandler func(errInput error),
) *Collection

func (*Collection) AddFuncResult added in v0.4.4

func (collection *Collection) AddFuncResult(
	getterFunctions ...func() string,
) *Collection

func (*Collection) AddHashmapsKeys added in v0.1.9

func (collection *Collection) AddHashmapsKeys(
	hashmaps ...*Hashmap,
) *Collection

func (*Collection) AddHashmapsKeysValues added in v0.1.9

func (collection *Collection) AddHashmapsKeysValues(
	hashmaps ...*Hashmap,
) *Collection

func (*Collection) AddHashmapsKeysValuesUsingFilter added in v0.1.9

func (collection *Collection) AddHashmapsKeysValuesUsingFilter(
	filter IsKeyValueFilter,
	hashmaps ...*Hashmap,
) *Collection

func (*Collection) AddHashmapsValues added in v0.1.9

func (collection *Collection) AddHashmapsValues(
	hashmaps ...*Hashmap,
) *Collection

func (*Collection) AddIf added in v0.4.1

func (collection *Collection) AddIf(isAdd bool, addingString string) *Collection

func (*Collection) AddIfMany added in v0.4.1

func (collection *Collection) AddIfMany(
	isAdd bool,
	addingStrings ...string,
) *Collection

func (*Collection) AddLock

func (collection *Collection) AddLock(str string) *Collection

func (*Collection) AddNonEmpty added in v0.4.1

func (collection *Collection) AddNonEmpty(str string) *Collection

func (*Collection) AddNonEmptyStrings added in v0.4.4

func (collection *Collection) AddNonEmptyStrings(
	slice ...string,
) *Collection

func (*Collection) AddNonEmptyStringsPtr added in v0.4.4

func (collection *Collection) AddNonEmptyStringsPtr(
	slice *[]string,
) *Collection

func (*Collection) AddNonEmptyWhitespace added in v0.4.1

func (collection *Collection) AddNonEmptyWhitespace(str string) *Collection

func (*Collection) AddPointerCollections added in v0.2.0

func (collection *Collection) AddPointerCollections(collectionsIn *[]*Collection) *Collection

AddPointerCollections skip on nil

func (*Collection) AddPointerCollectionsLock added in v0.2.0

func (collection *Collection) AddPointerCollectionsLock(collectionsIn *[]*Collection) *Collection

func (*Collection) AddPointerStringsPtr added in v0.2.0

func (collection *Collection) AddPointerStringsPtr(
	pointerStringItems *[]*string,
) *Collection

AddPointerStringsPtr skip on nil

func (*Collection) AddPointerStringsPtrLock added in v0.2.0

func (collection *Collection) AddPointerStringsPtrLock(
	pointerStringItems *[]*string,
) *Collection

AddPointerStringsPtrLock skip on nil

func (*Collection) AddPtr

func (collection *Collection) AddPtr(str *string) *Collection

func (*Collection) AddPtrLock

func (collection *Collection) AddPtrLock(str *string) *Collection

func (*Collection) AddStringsByFuncChecking added in v0.4.4

func (collection *Collection) AddStringsByFuncChecking(
	slice *[]string,
	isIntegrityOkay func(line string) bool,
) *Collection

func (*Collection) AddStringsPtr

func (collection *Collection) AddStringsPtr(
	stringItems *[]string,
) *Collection

func (*Collection) AddStringsPtrAsync added in v0.2.0

func (collection *Collection) AddStringsPtrAsync(
	wg *sync.WaitGroup,
	stringItems *[]string,
) *Collection

func (*Collection) AddStringsPtrLock added in v0.3.1

func (collection *Collection) AddStringsPtrLock(
	stringItems *[]string,
) *Collection

func (*Collection) AddStringsPtrWgLock

func (collection *Collection) AddStringsPtrWgLock(
	str *[]string,
	group *sync.WaitGroup,
) *Collection

func (*Collection) AddWithWgLock

func (collection *Collection) AddWithWgLock(
	str string,
	group *sync.WaitGroup,
) *Collection

func (*Collection) Adds

func (collection *Collection) Adds(items ...string) *Collection

func (*Collection) AddsLock

func (collection *Collection) AddsLock(items ...string) *Collection

func (*Collection) AddsNonEmptyPtr

func (collection *Collection) AddsNonEmptyPtr(itemsPtr ...*string) *Collection

func (*Collection) AddsNonEmptyPtrLock

func (collection *Collection) AddsNonEmptyPtrLock(itemsPtr ...*string) *Collection

func (*Collection) AddsPtr

func (collection *Collection) AddsPtr(itemsPtr ...*string) *Collection

AddsPtr Skip on nil

func (*Collection) AddsPtrAsync added in v0.2.0

func (collection *Collection) AddsPtrAsync(
	wg *sync.WaitGroup,
	itemsPtr ...*string,
) *Collection

AddsPtrAsync Skip on nil

func (*Collection) AddsPtrLock

func (collection *Collection) AddsPtrLock(itemsPtr ...*string) *Collection

func (*Collection) AppendAnys

func (collection *Collection) AppendAnys(
	anys ...interface{},
) *Collection

AppendAnys Continue on nil

func (*Collection) AppendAnysAsync added in v0.2.0

func (collection *Collection) AppendAnysAsync(
	wg *sync.WaitGroup,
	anys ...interface{},
) *Collection

AppendAnysAsync Continue on nil

func (*Collection) AppendAnysLock

func (collection *Collection) AppendAnysLock(
	anys *[]interface{},
) *Collection

AppendAnysLock Continue on nil

func (*Collection) AppendAnysUsingFilter

func (collection *Collection) AppendAnysUsingFilter(
	filter IsStringFilter,
	anys ...interface{},
) *Collection

AppendAnysUsingFilter Skip on nil

func (*Collection) AppendAnysUsingFilterLock

func (collection *Collection) AppendAnysUsingFilterLock(
	filter IsStringFilter,
	anys ...interface{},
) *Collection

AppendAnysUsingFilterLock Skip on nil

func (*Collection) AppendCollectionPtr

func (collection *Collection) AppendCollectionPtr(
	anotherCollection *Collection,
) *Collection

func (*Collection) AppendCollectionsPtr

func (collection *Collection) AppendCollectionsPtr(
	anotherCollectionsPtr ...*Collection,
) *Collection

func (*Collection) AppendCollectionsPtrAsync added in v0.2.0

func (collection *Collection) AppendCollectionsPtrAsync(
	wg *sync.WaitGroup,
	anotherCollectionsPtr ...*Collection,
) *Collection

func (*Collection) AppendNonEmptyAnys

func (collection *Collection) AppendNonEmptyAnys(
	anys ...interface{},
) *Collection

AppendNonEmptyAnys Continue on nil

func (*Collection) AppendPointersCollectionsPtr added in v0.2.0

func (collection *Collection) AppendPointersCollectionsPtr(
	anotherCollectionsPtr *[]*Collection,
) *Collection

func (*Collection) AsJsonContractsBinder added in v0.4.1

func (collection *Collection) AsJsonContractsBinder() corejson.JsonContractsBinder

func (*Collection) AsJsonMarshaller added in v0.1.6

func (collection *Collection) AsJsonMarshaller() corejson.JsonMarshaller

func (*Collection) Capacity

func (collection *Collection) Capacity() int

func (*Collection) ChainRemoveAt added in v0.4.1

func (collection *Collection) ChainRemoveAt(
	index int,
) *Collection

func (*Collection) CharCollectionMap

func (collection *Collection) CharCollectionMap() *CharCollectionMap

func (*Collection) Clear added in v0.2.0

func (collection *Collection) Clear() *Collection

Clear clears existing items.

func (*Collection) ConcatNew added in v0.4.1

func (collection *Collection) ConcatNew(
	predictiveLengthAdd int,
	addingStrings ...string,
) *Collection

func (*Collection) Count added in v0.4.1

func (collection *Collection) Count() int

func (*Collection) Csv added in v0.4.1

func (collection *Collection) Csv() string

func (*Collection) CsvLines added in v0.4.1

func (collection *Collection) CsvLines() *[]string

func (*Collection) CsvLinesOptions added in v0.4.1

func (collection *Collection) CsvLinesOptions(
	isSkipQuoteOnlyOnExistence bool,
) *[]string

func (*Collection) CsvOptions added in v0.4.1

func (collection *Collection) CsvOptions(isSkipQuoteOnlyOnExistence bool) string

func (*Collection) ExpandSlicePlusAdd added in v0.4.4

func (collection *Collection) ExpandSlicePlusAdd(
	slice *[]string,
	expandFunc func(line string) *[]string,
) *Collection

func (*Collection) Filter

func (collection *Collection) Filter(filter IsStringFilter) *[]string

Filter must return a slice

func (*Collection) FilterLock

func (collection *Collection) FilterLock(filter IsStringFilter) *[]string

FilterLock must return a slice

func (*Collection) FilterPtr

func (collection *Collection) FilterPtr(filterPtr IsStringPointerFilter) *[]*string

FilterPtr must return a slice

func (*Collection) FilterPtrLock

func (collection *Collection) FilterPtrLock(filterPtr IsStringPointerFilter) *[]*string

FilterPtrLock must return a slice

func (*Collection) FilteredCollection

func (collection *Collection) FilteredCollection(filter IsStringFilter) *Collection

FilteredCollection must return a items

func (*Collection) FilteredCollectionLock

func (collection *Collection) FilteredCollectionLock(filter IsStringFilter) *Collection

FilteredCollectionLock must return a items

func (*Collection) First added in v0.2.0

func (collection *Collection) First() string

func (*Collection) FirstOrDefault added in v0.2.0

func (collection *Collection) FirstOrDefault() string

func (*Collection) GetAllExcept added in v0.2.9

func (collection *Collection) GetAllExcept(items *[]string) *[]string

GetAllExcept Get all items except the mentioned ones. Always returns a copy of new strings. It is like set A - B Set A = this collection Set B = items given in parameters.

func (*Collection) GetAllExceptCollection added in v0.2.9

func (collection *Collection) GetAllExceptCollection(itemsCollection *Collection) *[]string

GetAllExceptCollection Get all items except the mentioned ones. Always returns a copy of new strings. It is like set A - B Set A = this collection Set B = itemsCollection given in parameters.

func (*Collection) GetHashsetPlusHasAll

func (collection *Collection) GetHashsetPlusHasAll(items *[]string) (*Hashset, bool)

GetHashsetPlusHasAll nil will return false.

func (*Collection) GetPagedCollection added in v0.3.2

func (collection *Collection) GetPagedCollection(
	eachPageSize int,
) *CollectionsOfCollection

func (*Collection) GetPagesSize added in v0.3.2

func (collection *Collection) GetPagesSize(
	eachPageSize int,
) int

func (*Collection) GetSinglePageCollection added in v0.3.2

func (collection *Collection) GetSinglePageCollection(
	eachPageSize int,
	pageIndex int,
) *Collection

GetSinglePageCollection PageIndex is one based index. Should be above or equal 1

func (*Collection) Has

func (collection *Collection) Has(str string) bool

func (*Collection) HasAll

func (collection *Collection) HasAll(items ...string) bool

func (*Collection) HasAnyItem added in v0.4.1

func (collection *Collection) HasAnyItem() bool

func (*Collection) HasIndex added in v0.4.1

func (collection *Collection) HasIndex(index int) bool

func (*Collection) HasItems added in v0.3.0

func (collection *Collection) HasItems() bool

func (*Collection) HasLock

func (collection *Collection) HasLock(str string) bool

func (*Collection) HasPtr added in v0.2.9

func (collection *Collection) HasPtr(str *string) bool

func (*Collection) HasUsingSensitivity

func (collection *Collection) HasUsingSensitivity(str string, isCaseSensitive bool) bool

func (*Collection) HashsetAsIs added in v0.2.9

func (collection *Collection) HashsetAsIs() *Hashset

func (*Collection) HashsetLock

func (collection *Collection) HashsetLock() *Hashset

func (*Collection) HashsetWithDoubleLength added in v0.2.9

func (collection *Collection) HashsetWithDoubleLength() *Hashset

func (*Collection) IndexAt added in v0.2.0

func (collection *Collection) IndexAt(
	index int,
) string

func (*Collection) InsertItemsAt added in v0.2.0

func (collection *Collection) InsertItemsAt(
	index int, stringItems *[]string,
) *Collection

func (*Collection) IsContainsAll

func (collection *Collection) IsContainsAll(items ...string) bool

IsContainsAll nil will return false.

func (*Collection) IsContainsAllLock

func (collection *Collection) IsContainsAllLock(items ...string) bool

IsContainsAllLock nil will return false.

func (*Collection) IsContainsAllPtr

func (collection *Collection) IsContainsAllPtr(items *[]string) bool

IsContainsAllPtr nil will return false.

func (*Collection) IsContainsPtr

func (collection *Collection) IsContainsPtr(item *string) bool

func (*Collection) IsEmpty

func (collection *Collection) IsEmpty() bool

func (*Collection) IsEmptyLock

func (collection *Collection) IsEmptyLock() bool

func (*Collection) IsEqualsPtr

func (collection *Collection) IsEqualsPtr(
	anotherCollection *Collection,
) bool

func (*Collection) IsEqualsWithSensitivePtr

func (collection *Collection) IsEqualsWithSensitivePtr(
	anotherCollection *Collection,
	isCaseSensitive bool,
) bool

func (*Collection) Items added in v0.2.0

func (collection *Collection) Items() *[]string

Items direct return pointer

func (*Collection) Join

func (collection *Collection) Join(
	separator string,
) string

func (*Collection) Joins

func (collection *Collection) Joins(
	separator string,
	items ...string,
) string

func (*Collection) Json

func (collection *Collection) Json() *corejson.Result

func (*Collection) JsonModel

func (collection *Collection) JsonModel() *CollectionDataModel

func (*Collection) JsonModelAny added in v0.1.6

func (collection *Collection) JsonModelAny() interface{}

func (*Collection) JsonParseSelfInject added in v0.1.6

func (collection *Collection) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*Collection) Last added in v0.2.0

func (collection *Collection) Last() string

func (*Collection) LastIndex added in v0.4.1

func (collection *Collection) LastIndex() int

func (*Collection) LastOrDefault added in v0.2.0

func (collection *Collection) LastOrDefault() string

func (*Collection) Length

func (collection *Collection) Length() int

func (*Collection) LengthLock

func (collection *Collection) LengthLock() int

func (*Collection) List

func (collection *Collection) List() []string

func (*Collection) ListCopyPtrLock

func (collection *Collection) ListCopyPtrLock() *[]string

ListCopyPtrLock returns a copy of the items

must return a slice

func (*Collection) ListPtr

func (collection *Collection) ListPtr() *[]string

ListPtr direct return pointer

func (*Collection) ListStrings added in v0.4.1

func (collection *Collection) ListStrings() []string

func (*Collection) ListStringsPtr added in v0.4.1

func (collection *Collection) ListStringsPtr() *[]string

func (*Collection) MarshalJSON

func (collection *Collection) MarshalJSON() ([]byte, error)

func (*Collection) MergeSlicesOfSlice added in v0.4.4

func (collection *Collection) MergeSlicesOfSlice(slices ...*[]string) *Collection

func (*Collection) MergeSlicesOfSlicePtr added in v0.4.4

func (collection *Collection) MergeSlicesOfSlicePtr(slices *[]*[]string) *Collection

func (*Collection) New added in v0.4.4

func (collection *Collection) New(
	slice ...string,
) *Collection

func (*Collection) NonEmptyItems added in v0.4.4

func (collection *Collection) NonEmptyItems() []string

func (*Collection) NonEmptyItemsOrNonWhitespacePtr added in v0.4.4

func (collection *Collection) NonEmptyItemsOrNonWhitespacePtr() *[]string

func (*Collection) NonEmptyItemsPtr added in v0.4.4

func (collection *Collection) NonEmptyItemsPtr() *[]string

func (*Collection) NonEmptyJoins added in v0.4.4

func (collection *Collection) NonEmptyJoins(
	joiner string,
) string

func (*Collection) NonEmptyListPtr

func (collection *Collection) NonEmptyListPtr() *[]string

NonEmptyListPtr must return a slice

func (*Collection) NonWhitespaceJoins added in v0.4.4

func (collection *Collection) NonWhitespaceJoins(
	joiner string,
) string

func (*Collection) ParseInjectUsingJson

func (collection *Collection) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*Collection, error)

func (*Collection) ParseInjectUsingJsonMust

func (collection *Collection) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *Collection

ParseInjectUsingJsonMust Panic if error

func (*Collection) RemoveAt added in v0.2.0

func (collection *Collection) RemoveAt(index int) (isSuccess bool)

func (*Collection) RemoveItemsIndexes added in v0.2.0

func (collection *Collection) RemoveItemsIndexes(
	isIgnoreRemoveError bool,
	indexes ...int,
) *Collection

RemoveItemsIndexes creates a new collection without the indexes mentioned.

it is better to filter out than remove.

func (*Collection) RemoveItemsIndexesPtr added in v0.2.0

func (collection *Collection) RemoveItemsIndexesPtr(
	isIgnoreRemoveError bool,
	indexes *[]int,
) *Collection

RemoveItemsIndexesPtr creates a new collection without the indexes mentioned.

it is better to filter out than remove.

func (*Collection) Resize

func (collection *Collection) Resize(
	newCapacity int,
) *Collection

Resize Only resize if capacity is bigger than the current one

func (*Collection) SafeIndexAtUsingLength added in v0.2.0

func (collection *Collection) SafeIndexAtUsingLength(
	defaultString string, length, index int,
) string

func (*Collection) SafePointerIndexAt added in v0.2.0

func (collection *Collection) SafePointerIndexAt(
	index int,
) *string

func (*Collection) SafePointerIndexAtUsingLength added in v0.2.0

func (collection *Collection) SafePointerIndexAtUsingLength(
	length, index int,
) *string

func (*Collection) Single added in v0.2.0

func (collection *Collection) Single() string

func (*Collection) Skip added in v0.3.2

func (collection *Collection) Skip(
	skip int,
) *Collection

Skip use One based index

func (*Collection) SortedAsc added in v0.1.9

func (collection *Collection) SortedAsc() *Collection

SortedAsc mutates current collection

func (*Collection) SortedAscLock added in v0.1.9

func (collection *Collection) SortedAscLock() *Collection

SortedAscLock mutates current collection

func (*Collection) SortedListAsc added in v0.1.9

func (collection *Collection) SortedListAsc() *[]string

SortedListAsc Creates new doesn't modify current collection

func (*Collection) SortedListDsc added in v0.1.9

func (collection *Collection) SortedListDsc() *[]string

SortedListDsc Creates new one.

func (*Collection) String

func (collection *Collection) String() string

func (*Collection) StringJSON added in v0.4.1

func (collection *Collection) StringJSON() string

func (*Collection) StringJson added in v0.4.1

func (collection *Collection) StringJson() (jsonString string, err error)

func (*Collection) StringJsonMust added in v0.4.1

func (collection *Collection) StringJsonMust() string

func (*Collection) StringLock

func (collection *Collection) StringLock() string

func (*Collection) SummaryString added in v0.2.0

func (collection *Collection) SummaryString(sequence int) string

func (*Collection) SummaryStringWithHeader added in v0.2.0

func (collection *Collection) SummaryStringWithHeader(header string) string

func (*Collection) Take added in v0.3.2

func (collection *Collection) Take(
	take int,
) *Collection

Take use One based index

func (*Collection) ToDefaultError added in v0.4.1

func (collection *Collection) ToDefaultError() error

func (*Collection) ToError added in v0.4.1

func (collection *Collection) ToError(sep string) error

func (*Collection) UniqueBoolMap

func (collection *Collection) UniqueBoolMap() *map[string]bool

func (*Collection) UniqueBoolMapLock

func (collection *Collection) UniqueBoolMapLock() *map[string]bool

func (*Collection) UniqueList

func (collection *Collection) UniqueList() []string

func (*Collection) UniqueListLock

func (collection *Collection) UniqueListLock() []string

func (*Collection) UniqueListPtr

func (collection *Collection) UniqueListPtr() *[]string

func (*Collection) UniqueListPtrLock

func (collection *Collection) UniqueListPtrLock() *[]string

func (*Collection) UnmarshalJSON

func (collection *Collection) UnmarshalJSON(data []byte) error

type CollectionDataModel

type CollectionDataModel struct {
	Items *[]string `json:"StringsCollection"`
}

func NewCollectionDataModelUsing

func NewCollectionDataModelUsing(collection *Collection) *CollectionDataModel

type CollectionPtr added in v0.2.0

type CollectionPtr struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyCollectionPtr added in v0.2.0

func EmptyCollectionPtr() *CollectionPtr

func NewCollectionPtr added in v0.2.0

func NewCollectionPtr(capacity int) *CollectionPtr

func NewCollectionPtrDataModelUsingDataModel added in v0.2.0

func NewCollectionPtrDataModelUsingDataModel(dataModel *CollectionPtrDataModel) *CollectionPtr

func NewCollectionPtrUsingLength added in v0.2.0

func NewCollectionPtrUsingLength(length, capacity int) *CollectionPtr

func NewCollectionPtrUsingPointerStrings added in v0.2.0

func NewCollectionPtrUsingPointerStrings(
	stringItems *[]*string,
	addCapacity int,
) *CollectionPtr

func NewCollectionPtrUsingStrings added in v0.2.0

func NewCollectionPtrUsingStrings(
	stringItems *[]string,
	addCapacity int,
) *CollectionPtr

func (*CollectionPtr) Add added in v0.2.0

func (collectionPtr *CollectionPtr) Add(str string) *CollectionPtr

func (*CollectionPtr) AddCapacity added in v0.2.0

func (collectionPtr *CollectionPtr) AddCapacity(
	capacities ...int,
) *CollectionPtr

func (*CollectionPtr) AddFunc added in v0.4.1

func (collectionPtr *CollectionPtr) AddFunc(f func() *string) *CollectionPtr

func (*CollectionPtr) AddFuncErr added in v0.4.1

func (collectionPtr *CollectionPtr) AddFuncErr(
	funcReturnsError func() (result *string, err error),
	errHandler func(errInput error),
) *CollectionPtr

func (*CollectionPtr) AddHashmapsKeys added in v0.2.0

func (collectionPtr *CollectionPtr) AddHashmapsKeys(
	hashmaps ...*Hashmap,
) *CollectionPtr

func (*CollectionPtr) AddHashmapsKeysValues added in v0.2.0

func (collectionPtr *CollectionPtr) AddHashmapsKeysValues(
	hashmaps ...*Hashmap,
) *CollectionPtr

func (*CollectionPtr) AddHashmapsKeysValuesUsingFilter added in v0.2.0

func (collectionPtr *CollectionPtr) AddHashmapsKeysValuesUsingFilter(
	filter IsKeyValueFilter,
	hashmaps ...*Hashmap,
) *CollectionPtr

func (*CollectionPtr) AddHashmapsValues added in v0.2.0

func (collectionPtr *CollectionPtr) AddHashmapsValues(
	hashmaps ...*Hashmap,
) *CollectionPtr

func (*CollectionPtr) AddIf added in v0.4.1

func (collectionPtr *CollectionPtr) AddIf(isAdd bool, addingStringPtr *string) *CollectionPtr

func (*CollectionPtr) AddIfMany added in v0.4.1

func (collectionPtr *CollectionPtr) AddIfMany(
	isAdd bool,
	addingStrings ...*string,
) *CollectionPtr

func (*CollectionPtr) AddLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddLock(str string) *CollectionPtr

func (*CollectionPtr) AddNonEmptyWhitespace added in v0.4.1

func (collectionPtr *CollectionPtr) AddNonEmptyWhitespace(str string) *CollectionPtr

func (*CollectionPtr) AddPointerStringsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AddPointerStringsPtr(
	pointerStringItems *[]*string,
) *CollectionPtr

func (*CollectionPtr) AddPointerStringsPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddPointerStringsPtrLock(
	pointerStringItems *[]*string,
) *CollectionPtr

func (*CollectionPtr) AddPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AddPtr(str *string) *CollectionPtr

func (*CollectionPtr) AddPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddPtrLock(str *string) *CollectionPtr

func (*CollectionPtr) AddStringsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AddStringsPtr(stringItems *[]string) *CollectionPtr

func (*CollectionPtr) AddStringsPtrWgLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddStringsPtrWgLock(
	stringItems *[]string,
	group *sync.WaitGroup,
) *CollectionPtr

func (*CollectionPtr) AddWithWgLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddWithWgLock(
	str string,
	group *sync.WaitGroup,
) *CollectionPtr

func (*CollectionPtr) Adds added in v0.2.0

func (collectionPtr *CollectionPtr) Adds(items ...string) *CollectionPtr

func (*CollectionPtr) AddsLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddsLock(items ...string) *CollectionPtr

func (*CollectionPtr) AddsNonEmptyPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AddsNonEmptyPtr(
	itemsPtr ...*string,
) *CollectionPtr

func (*CollectionPtr) AddsNonEmptyPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddsNonEmptyPtrLock(
	itemsPtr ...*string,
) *CollectionPtr

func (*CollectionPtr) AddsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AddsPtr(
	itemsPtr ...*string,
) *CollectionPtr

AddsPtr adds nil

func (*CollectionPtr) AddsPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) AddsPtrLock(itemsPtr ...*string) *CollectionPtr

func (*CollectionPtr) AppendAnys added in v0.2.0

func (collectionPtr *CollectionPtr) AppendAnys(
	anys ...interface{},
) *CollectionPtr

AppendAnys Continue on nil

func (*CollectionPtr) AppendAnysLock added in v0.2.0

func (collectionPtr *CollectionPtr) AppendAnysLock(
	anys ...interface{},
) *CollectionPtr

AppendAnysLock Continue on nil

func (*CollectionPtr) AppendAnysUsingFilter added in v0.2.0

func (collectionPtr *CollectionPtr) AppendAnysUsingFilter(
	filter IsStringFilter,
	anys ...interface{},
) *CollectionPtr

AppendAnysUsingFilter Skip on nil

func (*CollectionPtr) AppendAnysUsingFilterLock added in v0.2.0

func (collectionPtr *CollectionPtr) AppendAnysUsingFilterLock(
	filter IsStringFilter,
	anys ...interface{},
) *CollectionPtr

AppendAnysUsingFilterLock Skip on nil

func (*CollectionPtr) AppendCollectionPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AppendCollectionPtr(
	anotherCollectionPtr CollectionPtr,
) *CollectionPtr

func (*CollectionPtr) AppendCollectionPtrPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AppendCollectionPtrPtr(
	anotherCollectionPtr *CollectionPtr,
) *CollectionPtr

func (*CollectionPtr) AppendCollectionPtrsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) AppendCollectionPtrsPtr(
	anotherCollectionPtrsPtr ...*CollectionPtr,
) *CollectionPtr

func (*CollectionPtr) AppendNonEmptyAnys added in v0.2.0

func (collectionPtr *CollectionPtr) AppendNonEmptyAnys(
	anys ...interface{},
) *CollectionPtr

AppendNonEmptyAnys Continue on nil

func (*CollectionPtr) AsJsonContractsBinder added in v0.4.1

func (collectionPtr *CollectionPtr) AsJsonContractsBinder() corejson.JsonContractsBinder

func (*CollectionPtr) AsJsonMarshaller added in v0.2.0

func (collectionPtr *CollectionPtr) AsJsonMarshaller() corejson.JsonMarshaller

func (*CollectionPtr) AsJsonParseSelfInjector added in v0.2.0

func (collectionPtr *CollectionPtr) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*CollectionPtr) AsJsoner added in v0.2.0

func (collectionPtr *CollectionPtr) AsJsoner() corejson.Jsoner

func (*CollectionPtr) Capacity added in v0.2.0

func (collectionPtr *CollectionPtr) Capacity() int

func (*CollectionPtr) ChainRemoveAt added in v0.4.1

func (collectionPtr *CollectionPtr) ChainRemoveAt(index int) *CollectionPtr

func (*CollectionPtr) CharCollectionPtrMap added in v0.2.0

func (collectionPtr *CollectionPtr) CharCollectionPtrMap() *CharCollectionMap

func (*CollectionPtr) Count added in v0.4.1

func (collectionPtr *CollectionPtr) Count() int

func (*CollectionPtr) Filter added in v0.2.0

func (collectionPtr *CollectionPtr) Filter(
	filter IsStringPointerFilter,
) *[]*string

Filter must return a slice

func (*CollectionPtr) FilterLock added in v0.2.0

func (collectionPtr *CollectionPtr) FilterLock(
	filter IsStringPointerFilter,
) *[]*string

FilterLock must return a slice

func (*CollectionPtr) FilterPtr added in v0.2.0

func (collectionPtr *CollectionPtr) FilterPtr(
	filterPtr IsStringPointerFilter,
) *[]*string

FilterPtr must return a slice

func (*CollectionPtr) FilterPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) FilterPtrLock(
	filterPtr IsStringPointerFilter,
) *[]*string

FilterPtrLock must return a slice

func (*CollectionPtr) FilterSimpleArray added in v0.2.0

func (collectionPtr *CollectionPtr) FilterSimpleArray(
	filter IsStringPointerFilter,
) *[]string

FilterSimpleArray must return a slice

func (*CollectionPtr) FilterSimpleArrayLock added in v0.2.0

func (collectionPtr *CollectionPtr) FilterSimpleArrayLock(
	filter IsStringPointerFilter,
	wg *sync.WaitGroup,
) *[]string

FilterSimpleArrayLock assumed wg is added to be done here.

must return a slice

func (*CollectionPtr) FilteredCollection added in v0.2.0

func (collectionPtr *CollectionPtr) FilteredCollection(
	filter IsStringPointerFilter,
) *CollectionPtr

FilteredCollection must return a items

func (*CollectionPtr) FilteredCollectionLock added in v0.2.0

func (collectionPtr *CollectionPtr) FilteredCollectionLock(
	filter IsStringPointerFilter,
) *CollectionPtr

FilteredCollectionLock must return a items

func (*CollectionPtr) First added in v0.2.0

func (collectionPtr *CollectionPtr) First() string

func (*CollectionPtr) FirstOrDefault added in v0.2.0

func (collectionPtr *CollectionPtr) FirstOrDefault() string

func (*CollectionPtr) GetAllExcept added in v0.2.9

func (collectionPtr *CollectionPtr) GetAllExcept(
	items *[]*string,
) *[]*string

GetAllExcept Get all items except the mentioned ones. Always returns a copy of new strings. It is like set A - B Set A = this collection Set B = items given in parameters.

func (*CollectionPtr) GetAllExceptCollection added in v0.2.9

func (collectionPtr *CollectionPtr) GetAllExceptCollection(
	itemsCollection *CollectionPtr,
) *[]*string

GetAllExceptCollection Get all items except the mentioned ones in itemsCollection. Always returns a copy of new strings. It is like set A - B Set A = this collection Set B = itemsCollection given in parameters.

func (*CollectionPtr) GetHashsetPlusHasAll added in v0.2.0

func (collectionPtr *CollectionPtr) GetHashsetPlusHasAll(
	items *[]string,
) (*Hashset, bool)

GetHashsetPlusHasAll nil will return false.

func (*CollectionPtr) GetPagedCollection added in v0.3.2

func (collectionPtr *CollectionPtr) GetPagedCollection(
	eachPageSize int,
) *CollectionsOfCollectionPtr

func (*CollectionPtr) GetPagesSize added in v0.3.2

func (collectionPtr *CollectionPtr) GetPagesSize(
	eachPageSize int,
) int

func (*CollectionPtr) GetSinglePageCollection added in v0.3.2

func (collectionPtr *CollectionPtr) GetSinglePageCollection(
	eachPageSize int,
	pageIndex int,
) *CollectionPtr

GetSinglePageCollection PageIndex is one based index. Should be above or equal 1

func (*CollectionPtr) Has added in v0.2.0

func (collectionPtr *CollectionPtr) Has(str string) bool

func (*CollectionPtr) HasAll added in v0.2.0

func (collectionPtr *CollectionPtr) HasAll(
	items ...string,
) bool

func (*CollectionPtr) HasAnyItem added in v0.4.1

func (collectionPtr *CollectionPtr) HasAnyItem() bool

func (*CollectionPtr) HasIndex added in v0.4.1

func (collectionPtr *CollectionPtr) HasIndex(index int) bool

func (*CollectionPtr) HasItems added in v0.3.0

func (collectionPtr *CollectionPtr) HasItems() bool

func (*CollectionPtr) HasLock added in v0.2.0

func (collectionPtr *CollectionPtr) HasLock(str string) bool

func (*CollectionPtr) HasPtr added in v0.2.9

func (collectionPtr *CollectionPtr) HasPtr(str *string) bool

func (*CollectionPtr) HasUsingSensitivity added in v0.2.0

func (collectionPtr *CollectionPtr) HasUsingSensitivity(
	str string, isCaseSensitive bool,
) bool

func (*CollectionPtr) HashsetAsIs added in v0.2.9

func (collectionPtr *CollectionPtr) HashsetAsIs() *Hashset

func (*CollectionPtr) HashsetDoubleLength added in v0.2.9

func (collectionPtr *CollectionPtr) HashsetDoubleLength() *Hashset

func (*CollectionPtr) HashsetLock added in v0.2.0

func (collectionPtr *CollectionPtr) HashsetLock() *Hashset

func (*CollectionPtr) IndexAt added in v0.2.0

func (collectionPtr *CollectionPtr) IndexAt(
	index int,
) string

func (*CollectionPtr) InsertItemsAt added in v0.2.0

func (collectionPtr *CollectionPtr) InsertItemsAt(index int, stringItems *[]string) *CollectionPtr

func (*CollectionPtr) IsContainsAll added in v0.2.0

func (collectionPtr *CollectionPtr) IsContainsAll(
	items ...string,
) bool

IsContainsAll nil will return false.

func (*CollectionPtr) IsContainsAllLock added in v0.2.0

func (collectionPtr *CollectionPtr) IsContainsAllLock(
	items ...string,
) bool

IsContainsAllLock IsContainsAllLock nil will return false.

func (*CollectionPtr) IsContainsAllPtr added in v0.2.0

func (collectionPtr *CollectionPtr) IsContainsAllPtr(
	items *[]string,
) bool

IsContainsAllPtr nil will return false.

func (*CollectionPtr) IsContainsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) IsContainsPtr(
	item *string,
) bool

func (*CollectionPtr) IsEmpty added in v0.2.0

func (collectionPtr *CollectionPtr) IsEmpty() bool

func (*CollectionPtr) IsEmptyLock added in v0.2.0

func (collectionPtr *CollectionPtr) IsEmptyLock() bool

func (*CollectionPtr) IsEquals added in v0.2.0

func (collectionPtr *CollectionPtr) IsEquals(
	anotherCollectionPtr CollectionPtr,
) bool

func (*CollectionPtr) IsEqualsPtr added in v0.2.0

func (collectionPtr *CollectionPtr) IsEqualsPtr(
	anotherCollectionPtr *CollectionPtr,
) bool

func (*CollectionPtr) IsEqualsWithSensitivePtr added in v0.2.0

func (collectionPtr *CollectionPtr) IsEqualsWithSensitivePtr(
	anotherCollectionPtr *CollectionPtr,
	isCaseSensitive bool,
) bool

func (*CollectionPtr) Join added in v0.2.0

func (collectionPtr *CollectionPtr) Join(
	separator string,
) string

func (*CollectionPtr) Joins added in v0.2.0

func (collectionPtr *CollectionPtr) Joins(
	separator string,
	items ...string,
) string

func (*CollectionPtr) Json added in v0.2.0

func (collectionPtr *CollectionPtr) Json() *corejson.Result

func (*CollectionPtr) JsonModel added in v0.2.0

func (collectionPtr *CollectionPtr) JsonModel() *CollectionPtrDataModel

func (*CollectionPtr) JsonModelAny added in v0.2.0

func (collectionPtr *CollectionPtr) JsonModelAny() interface{}

func (*CollectionPtr) JsonParseSelfInject added in v0.2.0

func (collectionPtr *CollectionPtr) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*CollectionPtr) Last added in v0.2.0

func (collectionPtr *CollectionPtr) Last() string

func (*CollectionPtr) LastIndex added in v0.4.1

func (collectionPtr *CollectionPtr) LastIndex() int

func (*CollectionPtr) LastOrDefault added in v0.2.0

func (collectionPtr *CollectionPtr) LastOrDefault() string

func (*CollectionPtr) Length added in v0.2.0

func (collectionPtr *CollectionPtr) Length() int

func (*CollectionPtr) LengthLock added in v0.2.0

func (collectionPtr *CollectionPtr) LengthLock() int

func (*CollectionPtr) List added in v0.2.0

func (collectionPtr *CollectionPtr) List() []*string

func (*CollectionPtr) ListCopyPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) ListCopyPtrLock() *[]*string

ListCopyPtrLock returns a copy of the items

must return a slice

func (*CollectionPtr) ListPtr added in v0.2.0

func (collectionPtr *CollectionPtr) ListPtr() *[]*string

ListPtr direct return pointer

func (*CollectionPtr) ListStrings added in v0.4.1

func (collectionPtr *CollectionPtr) ListStrings() []string

func (*CollectionPtr) ListStringsPtr added in v0.4.1

func (collectionPtr *CollectionPtr) ListStringsPtr() *[]string

func (*CollectionPtr) MarshalJSON added in v0.2.0

func (collectionPtr *CollectionPtr) MarshalJSON() ([]byte, error)

func (*CollectionPtr) NonEmptySimpleListPtr added in v0.2.0

func (collectionPtr *CollectionPtr) NonEmptySimpleListPtr() *[]string

NonEmptySimpleListPtr must return a slice

func (*CollectionPtr) ParseInjectUsingJson added in v0.2.0

func (collectionPtr *CollectionPtr) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*CollectionPtr, error)

func (*CollectionPtr) ParseInjectUsingJsonMust added in v0.2.0

func (collectionPtr *CollectionPtr) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *CollectionPtr

ParseInjectUsingJsonMust Panic if error

func (*CollectionPtr) RemoveAt added in v0.2.0

func (collectionPtr *CollectionPtr) RemoveAt(index int) (isSuccess bool)

func (*CollectionPtr) RemoveItemsIndexes added in v0.2.0

func (collectionPtr *CollectionPtr) RemoveItemsIndexes(
	isIgnoreRemoveError bool,
	indexes ...int,
) *CollectionPtr

RemoveItemsIndexes creates a new collection without the indexes mentioned.

it is better to filter out than remove.

func (*CollectionPtr) RemoveItemsIndexesPtr added in v0.2.0

func (collectionPtr *CollectionPtr) RemoveItemsIndexesPtr(
	isIgnoreRemoveError bool,
	indexes *[]int,
) *CollectionPtr

RemoveItemsIndexesPtr creates a new collection without the indexes mentioned.

it is better to filter out than remove.

func (*CollectionPtr) Resize added in v0.2.0

func (collectionPtr *CollectionPtr) Resize(
	newCapacity int,
) *CollectionPtr

Resize Only resize if capacity is bigger than the current one Warning changes current pointer with new one.

func (*CollectionPtr) SafeIndexAtUsingLength added in v0.2.0

func (collectionPtr *CollectionPtr) SafeIndexAtUsingLength(
	defaultString string, length, index int,
) string

func (*CollectionPtr) SafePointerIndexAt added in v0.2.0

func (collectionPtr *CollectionPtr) SafePointerIndexAt(
	index int,
) *string

func (*CollectionPtr) SafePointerIndexAtUsingLength added in v0.2.0

func (collectionPtr *CollectionPtr) SafePointerIndexAtUsingLength(
	length, index int,
) *string

func (*CollectionPtr) SimpleList added in v0.2.0

func (collectionPtr *CollectionPtr) SimpleList() []string

func (*CollectionPtr) SimpleListPtr added in v0.2.0

func (collectionPtr *CollectionPtr) SimpleListPtr() *[]string

func (*CollectionPtr) SimpleListPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) SimpleListPtrLock() *[]string

func (*CollectionPtr) Single added in v0.2.0

func (collectionPtr *CollectionPtr) Single() string

func (*CollectionPtr) Skip added in v0.3.2

func (collectionPtr *CollectionPtr) Skip(
	skip int,
) *CollectionPtr

Skip use One based index

func (*CollectionPtr) SortedAsc added in v0.2.0

func (collectionPtr *CollectionPtr) SortedAsc() *CollectionPtr

SortedAsc mutates current collection

func (*CollectionPtr) SortedAscLock added in v0.2.0

func (collectionPtr *CollectionPtr) SortedAscLock() *CollectionPtr

SortedAscLock mutates current collection

func (*CollectionPtr) SortedDsc added in v0.2.0

func (collectionPtr *CollectionPtr) SortedDsc() *CollectionPtr

SortedDsc mutates itself.

func (*CollectionPtr) SortedListAsc added in v0.2.0

func (collectionPtr *CollectionPtr) SortedListAsc() *[]string

SortedListAsc Creates new doesn't modify current collection

func (*CollectionPtr) SortedListDsc added in v0.2.0

func (collectionPtr *CollectionPtr) SortedListDsc() *[]string

SortedListDsc Creates new one.

func (*CollectionPtr) String added in v0.2.0

func (collectionPtr *CollectionPtr) String() string

func (*CollectionPtr) StringJSON added in v0.4.1

func (collectionPtr *CollectionPtr) StringJSON() string

func (*CollectionPtr) StringJson added in v0.4.1

func (collectionPtr *CollectionPtr) StringJson() (jsonString string, err error)

func (*CollectionPtr) StringJsonMust added in v0.4.1

func (collectionPtr *CollectionPtr) StringJsonMust() string

func (*CollectionPtr) StringLock added in v0.2.0

func (collectionPtr *CollectionPtr) StringLock() string

func (*CollectionPtr) SummaryString added in v0.3.2

func (collectionPtr *CollectionPtr) SummaryString(
	sequence int,
) string

func (*CollectionPtr) SummaryStringWithHeader added in v0.3.2

func (collectionPtr *CollectionPtr) SummaryStringWithHeader(
	header string,
) string

func (*CollectionPtr) Take added in v0.3.2

func (collectionPtr *CollectionPtr) Take(
	take int,
) *CollectionPtr

Take use One based index

func (*CollectionPtr) UniqueBoolMap added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueBoolMap(
	isAddEmptyStringOnNil bool,
) *map[string]bool

UniqueBoolMap continue on nil

func (*CollectionPtr) UniqueBoolMapLock added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueBoolMapLock(
	isAddEmptyStringOnNil bool,
) *map[string]bool

func (*CollectionPtr) UniqueList added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueList(
	isAddEmptyStringOnNil bool,
) []string

func (*CollectionPtr) UniqueListLock added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueListLock(
	isAddEmptyStringOnNil bool,
) []string

func (*CollectionPtr) UniqueListPtr added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueListPtr(
	isAddEmptyStringOnNil bool,
) *[]string

func (*CollectionPtr) UniqueListPtrLock added in v0.2.0

func (collectionPtr *CollectionPtr) UniqueListPtrLock(
	isAddEmptyStringOnNil bool,
) *[]string

func (*CollectionPtr) UnmarshalJSON added in v0.2.0

func (collectionPtr *CollectionPtr) UnmarshalJSON(
	data []byte,
) error

type CollectionPtrDataModel added in v0.2.0

type CollectionPtrDataModel struct {
	Items *[]*string `json:"PointerStringsCollection"`
}

func NewCollectionPtrDataModelUsing added in v0.2.0

func NewCollectionPtrDataModelUsing(collection *CollectionPtr) *CollectionPtrDataModel

type CollectionsOfCollection added in v0.2.0

type CollectionsOfCollection struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyCollectionsOfCollection added in v0.2.0

func EmptyCollectionsOfCollection() *CollectionsOfCollection

func NewCollectionsOfCollection added in v0.2.0

func NewCollectionsOfCollection(
	capacity int,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingLength added in v0.2.0

func NewCollectionsOfCollectionUsingLength(
	length,
	capacity int,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingPointerStringsPlusCap added in v0.2.0

func NewCollectionsOfCollectionUsingPointerStringsPlusCap(
	stringItems *[]*string,
	capacity int,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingStrings added in v0.2.0

func NewCollectionsOfCollectionUsingStrings(
	stringItems *[]string,
	isMakeClone bool,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingStringsOfPointerStrings added in v0.2.0

func NewCollectionsOfCollectionUsingStringsOfPointerStrings(
	isMakeClone bool,
	stringItems *[]*[]string,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingStringsOfStrings added in v0.2.0

func NewCollectionsOfCollectionUsingStringsOfStrings(
	isMakeClone bool,
	stringItems ...*[]string,
) *CollectionsOfCollection

func NewCollectionsOfCollectionUsingStringsPlusCap added in v0.2.0

func NewCollectionsOfCollectionUsingStringsPlusCap(
	stringItems *[]string,
	capacity int,
	isMakeClone bool,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AddAsyncFuncItems added in v0.5.7

func (cc *CollectionsOfCollection) AddAsyncFuncItems(
	wg *sync.WaitGroup,
	isMakeClone bool,
	asyncFunctions ...func() []string,
) *CollectionsOfCollection

AddAsyncFuncItems must add all the lengths to the wg

func (*CollectionsOfCollection) AddAsyncFuncItemsPointer added in v0.5.7

func (cc *CollectionsOfCollection) AddAsyncFuncItemsPointer(
	wg *sync.WaitGroup,
	isMakeClone bool,
	asyncFunctions ...func() *[]string,
) *CollectionsOfCollection

AddAsyncFuncItemsPointer must add all the lengths to the wg

func (*CollectionsOfCollection) AddCollections added in v0.2.0

func (cc *CollectionsOfCollection) AddCollections(
	collections *[]*Collection,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AddPointerStringsPtr added in v0.2.0

func (cc *CollectionsOfCollection) AddPointerStringsPtr(
	pointerStringsItems *[]*string,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AddStringsPtr added in v0.2.0

func (cc *CollectionsOfCollection) AddStringsPtr(
	stringsItems *[]string, isCloneAdd bool,
) *CollectionsOfCollection

func (*CollectionsOfCollection) Adds added in v0.2.0

func (cc *CollectionsOfCollection) Adds(
	collections ...*Collection,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AddsStringsOfPointerStrings added in v0.2.0

func (cc *CollectionsOfCollection) AddsStringsOfPointerStrings(
	isMakeClone bool,
	stringsOfPointerStrings *[]*[]string,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AddsStringsOfStrings added in v0.2.0

func (cc *CollectionsOfCollection) AddsStringsOfStrings(
	isMakeClone bool,
	stringsOfPointerStrings ...*[]string,
) *CollectionsOfCollection

func (*CollectionsOfCollection) AllIndividualItemsLength added in v0.2.0

func (cc *CollectionsOfCollection) AllIndividualItemsLength() int

func (*CollectionsOfCollection) AsJsonMarshaller added in v0.3.4

func (cc *CollectionsOfCollection) AsJsonMarshaller() corejson.JsonMarshaller

func (*CollectionsOfCollection) AsJsonParseSelfInjector added in v0.3.4

func (cc *CollectionsOfCollection) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*CollectionsOfCollection) AsJsoner added in v0.3.4

func (cc *CollectionsOfCollection) AsJsoner() corejson.Jsoner

func (*CollectionsOfCollection) HasItems added in v0.3.0

func (cc *CollectionsOfCollection) HasItems() bool

func (*CollectionsOfCollection) IsEmpty added in v0.2.0

func (cc *CollectionsOfCollection) IsEmpty() bool

func (*CollectionsOfCollection) Items added in v0.2.0

func (cc *CollectionsOfCollection) Items() []*Collection

func (*CollectionsOfCollection) ItemsPtr added in v0.2.0

func (cc *CollectionsOfCollection) ItemsPtr() *[]*Collection

func (*CollectionsOfCollection) Json added in v0.3.4

func (*CollectionsOfCollection) JsonModel added in v0.3.4

func (*CollectionsOfCollection) JsonModelAny added in v0.3.4

func (cc *CollectionsOfCollection) JsonModelAny() interface{}

func (*CollectionsOfCollection) JsonParseSelfInject added in v0.3.4

func (cc *CollectionsOfCollection) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*CollectionsOfCollection) Length added in v0.2.0

func (cc *CollectionsOfCollection) Length() int

func (*CollectionsOfCollection) ListPtr added in v0.2.0

func (cc *CollectionsOfCollection) ListPtr(additionalCapacity int) *[]string

func (*CollectionsOfCollection) MarshalJSON added in v0.3.4

func (cc *CollectionsOfCollection) MarshalJSON() ([]byte, error)

func (*CollectionsOfCollection) ParseInjectUsingJson added in v0.3.4

func (cc *CollectionsOfCollection) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*CollectionsOfCollection, error)

func (*CollectionsOfCollection) ParseInjectUsingJsonMust added in v0.3.4

func (cc *CollectionsOfCollection) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *CollectionsOfCollection

ParseInjectUsingJsonMust Panic if error

func (*CollectionsOfCollection) String added in v0.2.0

func (cc *CollectionsOfCollection) String() string

func (*CollectionsOfCollection) ToCollection added in v0.2.0

func (cc *CollectionsOfCollection) ToCollection() *Collection

func (*CollectionsOfCollection) UnmarshalJSON added in v0.3.4

func (cc *CollectionsOfCollection) UnmarshalJSON(data []byte) error

type CollectionsOfCollectionModel added in v0.3.4

type CollectionsOfCollectionModel struct {
	Items *[]*Collection `json:"StringsCollectionsOfCollection"`
}

type CollectionsOfCollectionPtr added in v0.3.2

type CollectionsOfCollectionPtr struct {
	// contains filtered or unexported fields
}

func EmptyCollectionsOfCollectionPtr added in v0.3.2

func EmptyCollectionsOfCollectionPtr() *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtr added in v0.3.2

func NewCollectionsOfCollectionPtr(
	capacity int,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingLength added in v0.3.2

func NewCollectionsOfCollectionPtrUsingLength(
	length,
	capacity int,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingPointerStringsPlusCap added in v0.3.2

func NewCollectionsOfCollectionPtrUsingPointerStringsPlusCap(
	stringItems *[]*string,
	capacity int,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingStrings added in v0.3.2

func NewCollectionsOfCollectionPtrUsingStrings(
	stringItems *[]string,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingStringsOfPointerStrings added in v0.3.2

func NewCollectionsOfCollectionPtrUsingStringsOfPointerStrings(
	stringItems *[]*[]string,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingStringsOfStrings added in v0.3.2

func NewCollectionsOfCollectionPtrUsingStringsOfStrings(
	stringItems ...*[]string,
) *CollectionsOfCollectionPtr

func NewCollectionsOfCollectionPtrUsingStringsPlusCap added in v0.3.2

func NewCollectionsOfCollectionPtrUsingStringsPlusCap(
	stringItems *[]string,
	addCapacity int,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) AddCollections added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AddCollections(
	collections *[]*CollectionPtr,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) AddPointerStringsPtr added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AddPointerStringsPtr(
	pointerStringsItems *[]*string,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) AddStringsPtr added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AddStringsPtr(
	stringsItems *[]string,
	addCapacity int,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) Adds added in v0.3.2

func (*CollectionsOfCollectionPtr) AddsStringsOfPointerStrings added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AddsStringsOfPointerStrings(
	addCapacity int,
	stringsOfPointerStrings *[]*[]string,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) AddsStringsOfStrings added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AddsStringsOfStrings(
	addCapacity int,
	stringsOfPointerStrings ...*[]string,
) *CollectionsOfCollectionPtr

func (*CollectionsOfCollectionPtr) AllIndividualItemsLength added in v0.3.2

func (cc *CollectionsOfCollectionPtr) AllIndividualItemsLength() int

func (*CollectionsOfCollectionPtr) AsJsonMarshaller added in v0.3.4

func (cc *CollectionsOfCollectionPtr) AsJsonMarshaller() corejson.JsonMarshaller

func (*CollectionsOfCollectionPtr) AsJsonParseSelfInjector added in v0.3.4

func (cc *CollectionsOfCollectionPtr) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*CollectionsOfCollectionPtr) AsJsoner added in v0.3.4

func (*CollectionsOfCollectionPtr) HasItems added in v0.3.2

func (cc *CollectionsOfCollectionPtr) HasItems() bool

func (*CollectionsOfCollectionPtr) IsEmpty added in v0.3.2

func (cc *CollectionsOfCollectionPtr) IsEmpty() bool

func (*CollectionsOfCollectionPtr) Items added in v0.3.2

func (*CollectionsOfCollectionPtr) ItemsPtr added in v0.3.2

func (cc *CollectionsOfCollectionPtr) ItemsPtr() *[]*CollectionPtr

func (*CollectionsOfCollectionPtr) Json added in v0.3.4

func (*CollectionsOfCollectionPtr) JsonModel added in v0.3.4

func (*CollectionsOfCollectionPtr) JsonModelAny added in v0.3.4

func (cc *CollectionsOfCollectionPtr) JsonModelAny() interface{}

func (*CollectionsOfCollectionPtr) JsonParseSelfInject added in v0.3.4

func (cc *CollectionsOfCollectionPtr) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*CollectionsOfCollectionPtr) Length added in v0.3.2

func (cc *CollectionsOfCollectionPtr) Length() int

func (*CollectionsOfCollectionPtr) ListPtr added in v0.3.2

func (cc *CollectionsOfCollectionPtr) ListPtr(
	additionalCapacity int,
) *[]string

func (*CollectionsOfCollectionPtr) MarshalJSON added in v0.3.4

func (cc *CollectionsOfCollectionPtr) MarshalJSON() ([]byte, error)

func (*CollectionsOfCollectionPtr) ParseInjectUsingJson added in v0.3.4

func (cc *CollectionsOfCollectionPtr) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*CollectionsOfCollectionPtr, error)

func (*CollectionsOfCollectionPtr) ParseInjectUsingJsonMust added in v0.3.4

func (cc *CollectionsOfCollectionPtr) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *CollectionsOfCollectionPtr

ParseInjectUsingJsonMust Panic if error

func (*CollectionsOfCollectionPtr) String added in v0.3.2

func (cc *CollectionsOfCollectionPtr) String() string

func (*CollectionsOfCollectionPtr) ToCollection added in v0.3.2

func (cc *CollectionsOfCollectionPtr) ToCollection() *Collection

func (*CollectionsOfCollectionPtr) UnmarshalJSON added in v0.3.4

func (cc *CollectionsOfCollectionPtr) UnmarshalJSON(data []byte) error

type CollectionsOfCollectionPtrModel added in v0.3.4

type CollectionsOfCollectionPtrModel struct {
	Items *[]*CollectionPtr `json:"PointerStringsCollectionsOfCollection"`
}

type Hashmap added in v0.1.6

type Hashmap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyHashmap added in v0.1.6

func EmptyHashmap() *Hashmap

func NewHashmap added in v0.1.6

func NewHashmap(length int) *Hashmap

func NewHashmapUsingCollection added in v0.1.6

func NewHashmapUsingCollection(
	keys, values *Collection,
) *Hashmap

func NewHashmapUsingDataModel added in v0.1.6

func NewHashmapUsingDataModel(dataModel *HashmapDataModel) *Hashmap

func NewHashmapUsingKeyAnyValues added in v0.1.6

func NewHashmapUsingKeyAnyValues(
	keyAnyValues *[]KeyAnyValuePair,
) *Hashmap

func NewHashmapUsingKeyValues added in v0.1.6

func NewHashmapUsingKeyValues(
	keyValues *[]KeyValuePair,
) *Hashmap

func NewHashmapUsingMap added in v0.1.6

func NewHashmapUsingMap(
	itemsMap *map[string]string,
	addCapacity int,
	isMakeClone bool,
) *Hashmap

NewHashmapUsingMap isMakeClone : copies itemsMap or else use the same one as pointer assign.

func NewHashmapUsingMapUsingAddCapacity added in v0.1.6

func NewHashmapUsingMapUsingAddCapacity(
	itemsMap *map[string]string,
	addCapacity int,
) *Hashmap

NewHashmapUsingMapUsingAddCapacity always returns the clone of the items.

func NewHashmapUsingStrings added in v0.1.6

func NewHashmapUsingStrings(
	keys, values *[]string,
) *Hashmap

func (*Hashmap) AddOrUpdate added in v0.1.6

func (hashmap *Hashmap) AddOrUpdate(key, val string) *Hashmap

func (*Hashmap) AddOrUpdateCollection added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateCollection(
	keys, values *Collection,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyAnyValsPtr added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyAnyValsPtr(
	pairs *[]KeyAnyValuePair,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyStrValAny added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyStrValAny(
	key string,
	val interface{},
) *Hashmap

func (*Hashmap) AddOrUpdateKeyStrValFloat added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyStrValFloat(
	key string,
	val float32,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyStrValFloat64 added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyStrValFloat64(
	key string, val float64,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyStrValInt added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyStrValInt(
	key string,
	val int,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyVal added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyVal(
	keyVal KeyValuePair,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyValsPtr added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyValsPtr(
	pairs *[]KeyValuePair,
) *Hashmap

func (*Hashmap) AddOrUpdateKeyValueAny added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateKeyValueAny(
	pair KeyAnyValuePair,
) *Hashmap

func (*Hashmap) AddOrUpdateLock added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateLock(key, value string) *Hashmap

func (*Hashmap) AddOrUpdateMap added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateMap(
	itemsMap *map[string]string,
) *Hashmap

func (*Hashmap) AddOrUpdatePtr added in v0.1.6

func (hashmap *Hashmap) AddOrUpdatePtr(
	key, val *string,
) *Hashmap

func (*Hashmap) AddOrUpdatePtrLock added in v0.1.6

func (hashmap *Hashmap) AddOrUpdatePtrLock(
	key, val *string,
) *Hashmap

func (*Hashmap) AddOrUpdateStringsPtr added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateStringsPtr(
	keys, values *[]string,
) *Hashmap

func (*Hashmap) AddOrUpdateStringsPtrLock added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateStringsPtrLock(
	keys, values *[]string,
) *Hashmap

func (*Hashmap) AddOrUpdateStringsPtrWgLock added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateStringsPtrWgLock(
	keys, values *[]string, wg *sync.WaitGroup,
) *Hashmap

func (*Hashmap) AddOrUpdateWithWgLock added in v0.1.6

func (hashmap *Hashmap) AddOrUpdateWithWgLock(
	key, val string,
	group *sync.WaitGroup,
) *Hashmap

func (*Hashmap) AddsOrUpdates added in v0.1.6

func (hashmap *Hashmap) AddsOrUpdates(
	KeyValuePair ...KeyValuePair,
) *Hashmap

func (*Hashmap) AddsOrUpdatesAnyUsingFilter added in v0.1.6

func (hashmap *Hashmap) AddsOrUpdatesAnyUsingFilter(
	filter IsKeyAnyValueFilter,
	pairs ...KeyAnyValuePair,
) *Hashmap

AddsOrUpdatesAnyUsingFilter Keep result from filter.

func (*Hashmap) AddsOrUpdatesAnyUsingFilterLock added in v0.1.6

func (hashmap *Hashmap) AddsOrUpdatesAnyUsingFilterLock(
	filter IsKeyAnyValueFilter,
	pairs ...KeyAnyValuePair,
) *Hashmap

AddsOrUpdatesAnyUsingFilterLock Keep result from filter.

func (*Hashmap) AddsOrUpdatesUsingFilter added in v0.1.6

func (hashmap *Hashmap) AddsOrUpdatesUsingFilter(
	filter IsKeyValueFilter,
	pairs ...KeyValuePair,
) *Hashmap

func (*Hashmap) AsJsonMarshaller added in v0.1.6

func (hashmap *Hashmap) AsJsonMarshaller() corejson.JsonMarshaller

func (*Hashmap) AsJsonParseSelfInjector added in v0.1.6

func (hashmap *Hashmap) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*Hashmap) AsJsoner added in v0.1.6

func (hashmap *Hashmap) AsJsoner() corejson.Jsoner

func (*Hashmap) Collection added in v0.1.6

func (hashmap *Hashmap) Collection() *Collection

func (*Hashmap) GetAllExceptCollection added in v0.2.9

func (hashmap *Hashmap) GetAllExceptCollection(
	collection *Collection,
) *[]string

GetAllExceptCollection Get all Hashmap items except the mentioned ones in collection. Always returns a copy of new strings. It is like set A - B Set A = this Hashmap Set B = collection given in parameters.

func (*Hashmap) GetAllExceptCollectionPtr added in v0.2.9

func (hashmap *Hashmap) GetAllExceptCollectionPtr(
	collectionPtr *CollectionPtr,
) *[]string

GetAllExceptCollectionPtr Get all items except the mentioned ones in collectionPtr. Always returns a copy of new strings. It is like set A - B Set A = this Hashmap Set B = collectionPtr given in parameters.

func (*Hashmap) GetKeysFilteredCollection added in v0.3.2

func (hashmap *Hashmap) GetKeysFilteredCollection(
	filter IsStringFilter,
) *Collection

GetKeysFilteredCollection must return items.

func (*Hashmap) GetKeysFilteredItems added in v0.3.2

func (hashmap *Hashmap) GetKeysFilteredItems(
	filter IsStringFilter,
) *[]string

GetKeysFilteredItems must return slice.

func (*Hashmap) GetValuesExceptKeysInHashset added in v0.2.9

func (hashmap *Hashmap) GetValuesExceptKeysInHashset(
	anotherHashset *Hashset,
) *[]string

GetValuesExceptKeysInHashset Get all Collection except the mentioned ones. Always returns a copy of new strings. It is like set A - B Set A = this Hashmap Set B = anotherHashset given in parameters.

func (*Hashmap) GetValuesKeysExcept added in v0.2.9

func (hashmap *Hashmap) GetValuesKeysExcept(
	items *[]string,
) *[]string

GetValuesKeysExcept Get all items except the mentioned ones. Always returns a copy of new strings. It is like set A - B Set A = this Hashmap Set B = items given in parameters.

func (*Hashmap) Has added in v0.1.6

func (hashmap *Hashmap) Has(key string) bool

func (*Hashmap) HasAll added in v0.1.6

func (hashmap *Hashmap) HasAll(keys ...string) bool

func (*Hashmap) HasAllCollectionItems added in v0.1.6

func (hashmap *Hashmap) HasAllCollectionItems(
	collection *Collection,
) bool

HasAllCollectionItems return false on items is nil or empty.

func (*Hashmap) HasAllStringsPtr added in v0.1.6

func (hashmap *Hashmap) HasAllStringsPtr(keys *[]string) bool

func (*Hashmap) HasAny added in v0.1.6

func (hashmap *Hashmap) HasAny(keys ...string) bool

func (*Hashmap) HasItems added in v0.3.0

func (hashmap *Hashmap) HasItems() bool

func (*Hashmap) HasLock added in v0.1.6

func (hashmap *Hashmap) HasLock(key string) bool

func (*Hashmap) HasWithLock added in v0.1.6

func (hashmap *Hashmap) HasWithLock(key string) bool

func (*Hashmap) IsEmpty added in v0.1.6

func (hashmap *Hashmap) IsEmpty() bool

func (*Hashmap) IsEmptyLock added in v0.1.6

func (hashmap *Hashmap) IsEmptyLock() bool

func (*Hashmap) IsEquals added in v0.1.6

func (hashmap *Hashmap) IsEquals(another Hashmap) bool

func (*Hashmap) IsEqualsPtr added in v0.1.6

func (hashmap *Hashmap) IsEqualsPtr(another *Hashmap) bool

func (*Hashmap) IsEqualsPtrLock added in v0.1.6

func (hashmap *Hashmap) IsEqualsPtrLock(another *Hashmap) bool

func (*Hashmap) Items added in v0.1.6

func (hashmap *Hashmap) Items() *map[string]string

func (*Hashmap) ItemsCopyLock added in v0.1.6

func (hashmap *Hashmap) ItemsCopyLock() *map[string]string

func (*Hashmap) Join added in v0.1.6

func (hashmap *Hashmap) Join(
	separator string,
) string

Join values

func (*Hashmap) JoinKeys added in v0.1.6

func (hashmap *Hashmap) JoinKeys(
	separator string,
) string

func (*Hashmap) Json added in v0.1.6

func (hashmap *Hashmap) Json() *corejson.Result

func (*Hashmap) JsonModel added in v0.1.6

func (hashmap *Hashmap) JsonModel() *HashmapDataModel

func (*Hashmap) JsonModelAny added in v0.1.6

func (hashmap *Hashmap) JsonModelAny() interface{}

func (*Hashmap) JsonParseSelfInject added in v0.1.6

func (hashmap *Hashmap) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*Hashmap) KeyValStringLines added in v0.4.1

func (hashmap *Hashmap) KeyValStringLines() *[]string

func (*Hashmap) Keys added in v0.1.6

func (hashmap *Hashmap) Keys() *[]string

func (*Hashmap) KeysCollection added in v0.1.8

func (hashmap *Hashmap) KeysCollection() *Collection

func (*Hashmap) KeysLock added in v0.1.6

func (hashmap *Hashmap) KeysLock() *[]string

func (*Hashmap) KeysValuePairs added in v0.1.6

func (hashmap *Hashmap) KeysValuePairs() *[]KeyValuePair

func (*Hashmap) KeysValuesCollection added in v0.1.8

func (hashmap *Hashmap) KeysValuesCollection() (
	keys, values *Collection,
)

func (*Hashmap) KeysValuesList added in v0.1.6

func (hashmap *Hashmap) KeysValuesList() (
	keys, values *[]string,
)

func (*Hashmap) KeysValuesListLock added in v0.1.6

func (hashmap *Hashmap) KeysValuesListLock() (
	keys, values *[]string,
)

func (*Hashmap) Length added in v0.1.6

func (hashmap *Hashmap) Length() int

func (*Hashmap) LengthLock added in v0.1.6

func (hashmap *Hashmap) LengthLock() int

func (*Hashmap) MarshalJSON added in v0.1.6

func (hashmap *Hashmap) MarshalJSON() ([]byte, error)

func (*Hashmap) ParseInjectUsingJson added in v0.1.6

func (hashmap *Hashmap) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*Hashmap, error)

ParseInjectUsingJson It will not update the self but creates a new one.

func (*Hashmap) ParseInjectUsingJsonMust added in v0.1.6

func (hashmap *Hashmap) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *Hashmap

ParseInjectUsingJsonMust Panic if error

func (*Hashmap) Remove added in v0.1.6

func (hashmap *Hashmap) Remove(key string) *Hashmap

func (*Hashmap) RemoveWithLock added in v0.1.6

func (hashmap *Hashmap) RemoveWithLock(key string) *Hashmap

func (*Hashmap) String added in v0.1.6

func (hashmap *Hashmap) String() string

func (*Hashmap) StringLock added in v0.1.6

func (hashmap *Hashmap) StringLock() string

func (*Hashmap) ToDefaultError added in v0.4.1

func (hashmap *Hashmap) ToDefaultError() error

func (*Hashmap) ToError added in v0.4.1

func (hashmap *Hashmap) ToError(sep string) error

func (*Hashmap) ToStringsUsingCompiler added in v0.4.1

func (hashmap *Hashmap) ToStringsUsingCompiler(
	compilerFunc func(
		key,
		val string,
	) string,
) *[]string

func (*Hashmap) UnmarshalJSON added in v0.1.6

func (hashmap *Hashmap) UnmarshalJSON(data []byte) error

func (*Hashmap) ValuesCollection added in v0.1.8

func (hashmap *Hashmap) ValuesCollection() *Collection

func (*Hashmap) ValuesCollectionLock added in v0.1.8

func (hashmap *Hashmap) ValuesCollectionLock() *Collection

func (*Hashmap) ValuesHashset added in v0.1.8

func (hashmap *Hashmap) ValuesHashset() *Hashset

func (*Hashmap) ValuesHashsetLock added in v0.1.8

func (hashmap *Hashmap) ValuesHashsetLock() *Hashset

func (*Hashmap) ValuesList added in v0.1.6

func (hashmap *Hashmap) ValuesList() []string

func (*Hashmap) ValuesListCopyPtrLock added in v0.1.6

func (hashmap *Hashmap) ValuesListCopyPtrLock() *[]string

ValuesListCopyPtrLock a slice must returned

func (*Hashmap) ValuesListPtr added in v0.1.6

func (hashmap *Hashmap) ValuesListPtr() *[]string

func (*Hashmap) ValuesToLower added in v0.1.6

func (hashmap *Hashmap) ValuesToLower() *Hashmap

ValuesToLower Create a new items with all lower strings

type HashmapDataModel added in v0.1.6

type HashmapDataModel struct {
	Items *map[string]string `json:"Hashmap"`
}

func NewHashmapsDataModelUsing added in v0.1.6

func NewHashmapsDataModelUsing(collection *Hashmap) *HashmapDataModel

type Hashset

type Hashset struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyHashset

func EmptyHashset() *Hashset

func NewHashset

func NewHashset(length int) *Hashset

func NewHashsetUsingCollection

func NewHashsetUsingCollection(
	collection *Collection,
) *Hashset

NewHashsetUsingCollection addCapacity will not work if it is not a clone.

func NewHashsetUsingDataModel

func NewHashsetUsingDataModel(dataModel *HashsetDataModel) *Hashset

func NewHashsetUsingMap

func NewHashsetUsingMap(
	itemsMap *map[string]bool,
	addCapacity int,
	isMakeClone bool,
) *Hashset

NewHashsetUsingMap addCapacity will not work if it is not a clone.

func NewHashsetUsingStringPointersArray added in v0.1.6

func NewHashsetUsingStringPointersArray(
	inputArray *[]*string,
	addCapacity int,
	isMakeClone bool,
) *Hashset

NewHashsetUsingStringPointersArray addCapacity will not work if it is not a clone.

func NewHashsetUsingStrings

func NewHashsetUsingStrings(
	inputArray *[]string,
) *Hashset

NewHashsetUsingStrings addCapacity will not work if it is not a clone.

func NewHashsetWithValues

func NewHashsetWithValues(
	addCapacity int,
	isMakeClone bool,
	items ...string,
) *Hashset

NewHashsetWithValues addCapacity will not work if it is not a clone.

func (*Hashset) Add

func (hashset *Hashset) Add(key string) *Hashset

func (*Hashset) AddCapacities added in v0.1.6

func (hashset *Hashset) AddCapacities(
	capacities ...int,
) *Hashset

AddCapacities Changing capacity creates new map and points to it. There is memory copy and loop is performed.

func (*Hashset) AddCapacitiesLock added in v0.1.6

func (hashset *Hashset) AddCapacitiesLock(
	capacities ...int,
) *Hashset

AddCapacitiesLock Changing capacity creates new map and points to it. There is memory copy and loop is performed.

func (*Hashset) AddCollection

func (hashset *Hashset) AddCollection(
	collection *Collection,
) *Hashset

func (*Hashset) AddCollections

func (hashset *Hashset) AddCollections(
	collections ...*Collection,
) *Hashset

func (*Hashset) AddFunc added in v0.4.1

func (hashset *Hashset) AddFunc(f func() string) *Hashset

func (*Hashset) AddFuncErr added in v0.4.1

func (hashset *Hashset) AddFuncErr(
	funcReturnsError func() (result string, err error),
	errHandler func(errInput error),
) *Hashset

func (*Hashset) AddHashsetItems

func (hashset *Hashset) AddHashsetItems(
	hashsetAdd *Hashset,
) *Hashset

func (*Hashset) AddHashsetWgLock

func (hashset *Hashset) AddHashsetWgLock(
	hashsetAdd *Hashset,
	wg *sync.WaitGroup,
) *Hashset

func (*Hashset) AddIf added in v0.4.1

func (hashset *Hashset) AddIf(isAdd bool, addingString string) *Hashset

func (*Hashset) AddIfMany added in v0.4.1

func (hashset *Hashset) AddIfMany(
	isAdd bool,
	addingStrings ...string,
) *Hashset

func (*Hashset) AddItemsMap added in v0.1.6

func (hashset *Hashset) AddItemsMap(
	itemsMap *map[string]bool,
) *Hashset

AddItemsMap only add if the value is true

func (*Hashset) AddItemsMapWgLock added in v0.1.6

func (hashset *Hashset) AddItemsMapWgLock(
	itemsMap *map[string]bool,
	wg *sync.WaitGroup,
) *Hashset

AddItemsMapWgLock only add if the value is true Assume that wg already enqueued the job as wg.Add(...) done already.

func (*Hashset) AddLock

func (hashset *Hashset) AddLock(key string) *Hashset

func (*Hashset) AddNonEmpty added in v0.4.1

func (hashset *Hashset) AddNonEmpty(str string) *Hashset

func (*Hashset) AddNonEmptyWhitespace added in v0.4.1

func (hashset *Hashset) AddNonEmptyWhitespace(str string) *Hashset

func (*Hashset) AddPtr

func (hashset *Hashset) AddPtr(key *string) *Hashset

func (*Hashset) AddPtrLock

func (hashset *Hashset) AddPtrLock(key *string) *Hashset

func (*Hashset) AddStringsPtr

func (hashset *Hashset) AddStringsPtr(keys *[]string) *Hashset

func (*Hashset) AddStringsPtrLock

func (hashset *Hashset) AddStringsPtrLock(keys *[]string) *Hashset

func (*Hashset) AddStringsPtrWgLock

func (hashset *Hashset) AddStringsPtrWgLock(
	keys *[]string, wg *sync.WaitGroup,
) *Hashset

func (*Hashset) AddWithWgLock

func (hashset *Hashset) AddWithWgLock(key string, group *sync.WaitGroup) *Hashset

func (*Hashset) Adds

func (hashset *Hashset) Adds(keys ...string) *Hashset

func (*Hashset) AddsAnyUsingFilter

func (hashset *Hashset) AddsAnyUsingFilter(
	filter IsStringFilter,
	anys ...interface{},
) *Hashset

func (*Hashset) AddsAnyUsingFilterLock

func (hashset *Hashset) AddsAnyUsingFilterLock(
	filter IsStringFilter,
	anys ...interface{},
) *Hashset

func (*Hashset) AddsUsingFilter

func (hashset *Hashset) AddsUsingFilter(
	filter IsStringFilter,
	keys ...string,
) *Hashset

func (*Hashset) AsJsonMarshaller added in v0.3.4

func (hashset *Hashset) AsJsonMarshaller() corejson.JsonMarshaller

func (*Hashset) AsJsonParseSelfInjector added in v0.3.4

func (hashset *Hashset) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*Hashset) AsJsoner added in v0.3.4

func (hashset *Hashset) AsJsoner() corejson.Jsoner

func (*Hashset) Collection

func (hashset *Hashset) Collection() *Collection

func (*Hashset) GetAllExcept added in v0.2.9

func (hashset *Hashset) GetAllExcept(
	items *[]string,
) *[]string

GetAllExcept Get all hashset items except the mentioned ones in items. Always returns a copy of new strings. It is like set A - B Set A = this Hashset Set B = items given in parameters.

func (*Hashset) GetAllExceptCollection added in v0.2.9

func (hashset *Hashset) GetAllExceptCollection(
	collection *Collection,
) *[]string

GetAllExceptCollection Get all hashset items except the mentioned ones in collection. Always returns a copy of new strings. It is like set A - B Set A = this Hashset Set B = collection given in parameters.

func (*Hashset) GetAllExceptCollectionPtr added in v0.2.9

func (hashset *Hashset) GetAllExceptCollectionPtr(
	collectionPtr *CollectionPtr,
) *[]string

GetAllExceptCollectionPtr Get all hashset items except the mentioned ones in collectionPtr. Always returns a copy of new strings. It is like set A - B Set A = this Hashset Set B = collectionPtr given in parameters.

func (*Hashset) GetAllExceptHashset added in v0.2.9

func (hashset *Hashset) GetAllExceptHashset(
	anotherHashset *Hashset,
) *[]string

GetAllExceptHashset Get all hashset items except the mentioned ones in anotherHashset. Always returns a copy of new strings. It is like set A - B Set A = this Hashset Set B = anotherHashset given in parameters.

func (*Hashset) GetFilteredCollection

func (hashset *Hashset) GetFilteredCollection(
	filter IsStringFilter,
) *Collection

GetFilteredCollection must return items.

func (*Hashset) GetFilteredItems

func (hashset *Hashset) GetFilteredItems(
	filter IsStringFilter,
) *[]string

GetFilteredItems must return slice.

func (*Hashset) Has

func (hashset *Hashset) Has(key string) bool

func (*Hashset) HasAll

func (hashset *Hashset) HasAll(keys ...string) bool

func (*Hashset) HasAllCollectionItems

func (hashset *Hashset) HasAllCollectionItems(
	collection *Collection,
) bool

HasAllCollectionItems return false on items is nil or empty.

func (*Hashset) HasAllStringsPtr

func (hashset *Hashset) HasAllStringsPtr(keys *[]string) bool

func (*Hashset) HasAny

func (hashset *Hashset) HasAny(keys ...string) bool

func (*Hashset) HasItems added in v0.3.0

func (hashset *Hashset) HasItems() bool

func (*Hashset) HasLock

func (hashset *Hashset) HasLock(key string) bool

func (*Hashset) HasWithLock

func (hashset *Hashset) HasWithLock(key string) bool

func (*Hashset) IsEmpty

func (hashset *Hashset) IsEmpty() bool

func (*Hashset) IsEmptyLock

func (hashset *Hashset) IsEmptyLock() bool

func (*Hashset) IsEquals

func (hashset *Hashset) IsEquals(another Hashset) bool

func (*Hashset) IsEqualsPtr

func (hashset *Hashset) IsEqualsPtr(another *Hashset) bool

func (*Hashset) IsEqualsPtrLock

func (hashset *Hashset) IsEqualsPtrLock(another *Hashset) bool

func (*Hashset) Items

func (hashset *Hashset) Items() *map[string]bool

func (*Hashset) Join

func (hashset *Hashset) Join(
	joiner string,
) string

func (*Hashset) JoinSorted added in v0.4.4

func (hashset *Hashset) JoinSorted(joiner string) string

func (*Hashset) Json

func (hashset *Hashset) Json() *corejson.Result

func (*Hashset) JsonModel

func (hashset *Hashset) JsonModel() *HashsetDataModel

func (*Hashset) JsonModelAny added in v0.1.6

func (hashset *Hashset) JsonModelAny() interface{}

func (*Hashset) JsonParseSelfInject added in v0.3.4

func (hashset *Hashset) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*Hashset) Length

func (hashset *Hashset) Length() int

func (*Hashset) LengthLock

func (hashset *Hashset) LengthLock() int

func (*Hashset) List

func (hashset *Hashset) List() []string

func (*Hashset) ListCopyPtrLock

func (hashset *Hashset) ListCopyPtrLock() *[]string

ListCopyPtrLock a slice must returned

func (*Hashset) ListPtr

func (hashset *Hashset) ListPtr() *[]string

func (*Hashset) ListPtrSortedAsc added in v0.1.9

func (hashset *Hashset) ListPtrSortedAsc() *[]string

func (*Hashset) ListPtrSortedDsc added in v0.4.4

func (hashset *Hashset) ListPtrSortedDsc() *[]string

func (*Hashset) MarshalJSON

func (hashset *Hashset) MarshalJSON() ([]byte, error)

func (*Hashset) NonEmptyJoins added in v0.4.4

func (hashset *Hashset) NonEmptyJoins(
	joiner string,
) string

func (*Hashset) NonWhitespaceJoins added in v0.4.4

func (hashset *Hashset) NonWhitespaceJoins(
	joiner string,
) string

func (*Hashset) OrderedList added in v0.4.4

func (hashset *Hashset) OrderedList() *[]string

func (*Hashset) ParseInjectUsingJson

func (hashset *Hashset) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*Hashset, error)

ParseInjectUsingJson It will not update the self but creates a new one.

func (*Hashset) ParseInjectUsingJsonMust

func (hashset *Hashset) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *Hashset

ParseInjectUsingJsonMust Panic if error

func (*Hashset) Remove

func (hashset *Hashset) Remove(key string) *Hashset

func (*Hashset) RemoveWithLock

func (hashset *Hashset) RemoveWithLock(key string) *Hashset

func (*Hashset) Resize added in v0.1.6

func (hashset *Hashset) Resize(capacity int) *Hashset

Resize Changing capacity creates new map and points to it. There is memory copy and loop is performed.

func (*Hashset) ResizeLock added in v0.1.6

func (hashset *Hashset) ResizeLock(capacity int) *Hashset

ResizeLock Changing capacity creates new map and points to it. There is memory copy and loop is performed.

func (*Hashset) String

func (hashset *Hashset) String() string

func (*Hashset) StringLock

func (hashset *Hashset) StringLock() string

func (*Hashset) ToLowerSet

func (hashset *Hashset) ToLowerSet() *Hashset

ToLowerSet Create a new items with all lower strings

func (*Hashset) UnmarshalJSON

func (hashset *Hashset) UnmarshalJSON(data []byte) error

type HashsetDataModel

type HashsetDataModel struct {
	Items *map[string]bool `json:"Hashset"`
}

func NewHashsetsDataModelUsing

func NewHashsetsDataModelUsing(collection *Hashset) *HashsetDataModel

type HashsetsCollection

type HashsetsCollection struct {
	// contains filtered or unexported fields
}

func EmptyHashsetsCollection

func EmptyHashsetsCollection() *HashsetsCollection

func NewHashsetsCollection

func NewHashsetsCollection(
	hashsets *[]Hashset,
) *HashsetsCollection

func NewHashsetsCollectionUsingDataModel

func NewHashsetsCollectionUsingDataModel(dataModel *HashsetsCollectionDataModel) *HashsetsCollection

func NewHashsetsCollectionUsingLength

func NewHashsetsCollectionUsingLength(
	length, capacity int,
) *HashsetsCollection

func NewHashsetsCollectionUsingPointerHashsets

func NewHashsetsCollectionUsingPointerHashsets(
	hashsets *[]*Hashset,
) *HashsetsCollection

func (*HashsetsCollection) Add

func (hashsetsCollection *HashsetsCollection) Add(hashset *Hashset) *HashsetsCollection

func (*HashsetsCollection) AddNonEmpty

func (hashsetsCollection *HashsetsCollection) AddNonEmpty(
	hashset *Hashset,
) *HashsetsCollection

func (*HashsetsCollection) AddNonNil

func (hashsetsCollection *HashsetsCollection) AddNonNil(hashset *Hashset) *HashsetsCollection

func (*HashsetsCollection) Adds

func (hashsetsCollection *HashsetsCollection) Adds(
	hashsets ...*Hashset,
) *HashsetsCollection

Adds nil will be skipped

func (*HashsetsCollection) AsJsonMarshaller added in v0.1.6

func (hashsetsCollection *HashsetsCollection) AsJsonMarshaller() corejson.JsonMarshaller

func (*HashsetsCollection) AsJsonParseSelfInjector added in v0.1.6

func (hashsetsCollection *HashsetsCollection) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*HashsetsCollection) AsJsoner added in v0.1.6

func (hashsetsCollection *HashsetsCollection) AsJsoner() corejson.Jsoner

func (*HashsetsCollection) HasAll

func (hashsetsCollection *HashsetsCollection) HasAll(items ...string) bool

HasAll items returns false hashsetsCollection empty returns false

func (*HashsetsCollection) HasItems added in v0.3.0

func (hashsetsCollection *HashsetsCollection) HasItems() bool

func (*HashsetsCollection) IndexOf

func (hashsetsCollection *HashsetsCollection) IndexOf(index int) *Hashset

func (*HashsetsCollection) IsEmpty

func (hashsetsCollection *HashsetsCollection) IsEmpty() bool

func (*HashsetsCollection) IsEqual

func (hashsetsCollection *HashsetsCollection) IsEqual(another HashsetsCollection) bool

func (*HashsetsCollection) IsEqualPtr

func (hashsetsCollection *HashsetsCollection) IsEqualPtr(another *HashsetsCollection) bool

func (*HashsetsCollection) Join

func (hashsetsCollection *HashsetsCollection) Join(
	separator string,
) string

func (*HashsetsCollection) Json

func (hashsetsCollection *HashsetsCollection) Json() *corejson.Result

func (*HashsetsCollection) JsonModel

func (hashsetsCollection *HashsetsCollection) JsonModel() *HashsetsCollectionDataModel

func (*HashsetsCollection) JsonModelAny added in v0.1.6

func (hashsetsCollection *HashsetsCollection) JsonModelAny() interface{}

func (*HashsetsCollection) JsonParseSelfInject added in v0.1.6

func (hashsetsCollection *HashsetsCollection) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*HashsetsCollection) Length

func (hashsetsCollection *HashsetsCollection) Length() int

func (*HashsetsCollection) List

func (hashsetsCollection *HashsetsCollection) List() []*Hashset

func (*HashsetsCollection) ListDirectPtr

func (hashsetsCollection *HashsetsCollection) ListDirectPtr() *[]Hashset

func (*HashsetsCollection) ListPtr

func (hashsetsCollection *HashsetsCollection) ListPtr() *[]*Hashset

func (*HashsetsCollection) MarshalJSON

func (hashsetsCollection *HashsetsCollection) MarshalJSON() ([]byte, error)

func (*HashsetsCollection) ParseInjectUsingJson

func (hashsetsCollection *HashsetsCollection) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*HashsetsCollection, error)

func (*HashsetsCollection) ParseInjectUsingJsonMust

func (hashsetsCollection *HashsetsCollection) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *HashsetsCollection

ParseInjectUsingJsonMust Panic if error

func (*HashsetsCollection) String

func (hashsetsCollection *HashsetsCollection) String() string

func (*HashsetsCollection) StringsList

func (hashsetsCollection *HashsetsCollection) StringsList() *[]string

func (*HashsetsCollection) UnmarshalJSON

func (hashsetsCollection *HashsetsCollection) UnmarshalJSON(
	data []byte,
) error

type HashsetsCollectionDataModel

type HashsetsCollectionDataModel struct {
	Items *[]*Hashset `json:"HashsetsCollections"`
}

func NewHashsetsCollectionDataModelUsing

func NewHashsetsCollectionDataModelUsing(collection *HashsetsCollection) *HashsetsCollectionDataModel

type IsKeyAnyValueFilter added in v0.1.6

type IsKeyAnyValueFilter func(pair KeyAnyValuePair) (result string, isKeep bool, isBreak bool)

type IsKeyValueFilter added in v0.1.6

type IsKeyValueFilter func(pair KeyValuePair) (result string, isKeep bool, isBreak bool)

type IsStringFilter

type IsStringFilter func(str string, index int) (result string, isKeep bool, isBreak bool)

type IsStringPointerFilter

type IsStringPointerFilter func(stringPointer *string, index int) (result *string, isKeep bool, isBreak bool)

type KeyAnyValuePair added in v0.1.6

type KeyAnyValuePair struct {
	Key string

	Value interface{}
	// contains filtered or unexported fields
}

func (*KeyAnyValuePair) HasNonNull added in v0.1.6

func (keyAnyValuePair *KeyAnyValuePair) HasNonNull() bool

func (*KeyAnyValuePair) IsValueNull added in v0.1.6

func (keyAnyValuePair *KeyAnyValuePair) IsValueNull() bool

func (*KeyAnyValuePair) ValueString added in v0.1.6

func (keyAnyValuePair *KeyAnyValuePair) ValueString() string

func (*KeyAnyValuePair) ValueStringPtr added in v0.1.6

func (keyAnyValuePair *KeyAnyValuePair) ValueStringPtr() *string

type KeyValuePair added in v0.1.6

type KeyValuePair struct {
	Key, Value string
}

func NewKeyValuePairTrimmed added in v0.5.7

func NewKeyValuePairTrimmed(key, val string) *KeyValuePair

type LeftMiddleRight added in v0.4.4

type LeftMiddleRight struct {
	LeftRight
	Middle string
}

func InvalidLeftMiddleRight added in v0.5.7

func InvalidLeftMiddleRight(message string) *LeftMiddleRight

func InvalidLeftMiddleRightNoMessage added in v0.5.7

func InvalidLeftMiddleRightNoMessage() *LeftMiddleRight

func (*LeftMiddleRight) Clone added in v0.5.7

func (receiver *LeftMiddleRight) Clone() *LeftMiddleRight

func (*LeftMiddleRight) HasSafeNonEmpty added in v0.4.4

func (receiver *LeftMiddleRight) HasSafeNonEmpty() bool

HasSafeNonEmpty receiver.IsValid &&

!receiver.IsLeftEmpty() &&
!receiver.IsMiddleEmpty() &&
!receiver.IsRightEmpty()

func (*LeftMiddleRight) HasValidNonEmptyMiddle added in v0.4.4

func (receiver *LeftMiddleRight) HasValidNonEmptyMiddle() bool

func (*LeftMiddleRight) HasValidNonWhitespaceMiddle added in v0.4.4

func (receiver *LeftMiddleRight) HasValidNonWhitespaceMiddle() bool

func (*LeftMiddleRight) IsAll added in v0.4.4

func (receiver *LeftMiddleRight) IsAll(left, mid, right string) bool

func (*LeftMiddleRight) IsMiddleEmpty added in v0.4.4

func (receiver *LeftMiddleRight) IsMiddleEmpty() bool

func (*LeftMiddleRight) IsMiddleWhitespace added in v0.4.4

func (receiver *LeftMiddleRight) IsMiddleWhitespace() bool

func (*LeftMiddleRight) MiddleBytes added in v0.4.4

func (receiver *LeftMiddleRight) MiddleBytes() []byte

func (*LeftMiddleRight) MiddleTrim added in v0.5.7

func (receiver *LeftMiddleRight) MiddleTrim() string

type LeftRight added in v0.4.4

type LeftRight struct {
	Left, Right string
	IsValid     bool
	Message     string
}

func InvalidLeftRight added in v0.5.1

func InvalidLeftRight(message string) *LeftRight

func InvalidLeftRightNoMessage added in v0.5.1

func InvalidLeftRightNoMessage() *LeftRight

func LeftRightTrimmedUsingSlice added in v0.5.7

func LeftRightTrimmedUsingSlice(slice []string) *LeftRight

func LeftRightUsingSlice added in v0.5.2

func LeftRightUsingSlice(slice []string) *LeftRight

func LeftRightUsingSlicePtr added in v0.5.2

func LeftRightUsingSlicePtr(slice *[]string) *LeftRight

func (*LeftRight) Clone added in v0.5.7

func (receiver *LeftRight) Clone() *LeftRight

func (*LeftRight) HasSafeNonEmpty added in v0.4.4

func (receiver *LeftRight) HasSafeNonEmpty() bool

HasSafeNonEmpty receiver.IsValid &&

!receiver.IsLeftEmpty() &&
!receiver.IsRightEmpty()

func (*LeftRight) HasValidNonEmptyLeft added in v0.4.4

func (receiver *LeftRight) HasValidNonEmptyLeft() bool

func (*LeftRight) HasValidNonEmptyRight added in v0.4.4

func (receiver *LeftRight) HasValidNonEmptyRight() bool

func (*LeftRight) HasValidNonWhitespaceLeft added in v0.4.4

func (receiver *LeftRight) HasValidNonWhitespaceLeft() bool

func (*LeftRight) HasValidNonWhitespaceRight added in v0.4.4

func (receiver *LeftRight) HasValidNonWhitespaceRight() bool

func (*LeftRight) Is added in v0.4.4

func (receiver *LeftRight) Is(left, right string) bool

func (*LeftRight) IsLeft added in v0.4.4

func (receiver *LeftRight) IsLeft(left string) bool

func (*LeftRight) IsLeftEmpty added in v0.4.4

func (receiver *LeftRight) IsLeftEmpty() bool

func (*LeftRight) IsLeftWhitespace added in v0.4.4

func (receiver *LeftRight) IsLeftWhitespace() bool

func (*LeftRight) IsRight added in v0.4.4

func (receiver *LeftRight) IsRight(right string) bool

func (*LeftRight) IsRightEmpty added in v0.4.4

func (receiver *LeftRight) IsRightEmpty() bool

func (*LeftRight) IsRightWhitespace added in v0.4.4

func (receiver *LeftRight) IsRightWhitespace() bool

func (*LeftRight) LeftBytes added in v0.4.4

func (receiver *LeftRight) LeftBytes() []byte

func (*LeftRight) LeftTrim added in v0.5.7

func (receiver *LeftRight) LeftTrim() string

func (*LeftRight) RightBytes added in v0.4.4

func (receiver *LeftRight) RightBytes() []byte

func (*LeftRight) RightTrim added in v0.5.7

func (receiver *LeftRight) RightTrim() string

type LinkedCollectionFilter added in v0.2.0

type LinkedCollectionFilter func(
	arg *LinkedCollectionFilterParameter,
) *LinkedCollectionFilterResult

type LinkedCollectionFilterParameter added in v0.2.0

type LinkedCollectionFilterParameter struct {
	Node  *LinkedCollectionNode
	Index int
}

type LinkedCollectionFilterResult added in v0.2.0

type LinkedCollectionFilterResult struct {
	Value           *LinkedCollectionNode
	IsKeep, IsBreak bool
}

type LinkedCollectionNode added in v0.2.0

type LinkedCollectionNode struct {
	Element *Collection
	// contains filtered or unexported fields
}

func (*LinkedCollectionNode) AddCollectionToNode added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) AddCollectionToNode(
	linkedCollection *LinkedCollections,
	isSkipOnNull bool,
	collection *Collection,
) *LinkedCollections

func (*LinkedCollectionNode) AddNext added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) AddNext(
	linkedCollection *LinkedCollections,
	collection *Collection,
) *LinkedCollectionNode

func (*LinkedCollectionNode) AddNextNode added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) AddNextNode(
	linkedCollection *LinkedCollections,
	nextNode *LinkedCollectionNode,
) *LinkedCollectionNode

func (*LinkedCollectionNode) AddStringsPtrToNode added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) AddStringsPtrToNode(
	linkedCollection *LinkedCollections,
	isSkipOnNull bool,
	items *[]string,
	isMakeClone bool,
) *LinkedCollections

func (*LinkedCollectionNode) Clone added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) Clone() *LinkedCollectionNode

func (*LinkedCollectionNode) CreateLinkedList added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) CreateLinkedList() *LinkedCollections

func (*LinkedCollectionNode) EndOfChain added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) EndOfChain() (
	endOfChain *LinkedCollectionNode,
	length int,
)

func (*LinkedCollectionNode) HasElement added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) HasElement() bool

func (*LinkedCollectionNode) HasNext added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) HasNext() bool

func (*LinkedCollectionNode) IsChainEqual added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) IsChainEqual(another *LinkedCollectionNode) bool

func (*LinkedCollectionNode) IsEmpty added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) IsEmpty() bool

func (*LinkedCollectionNode) IsEqual added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) IsEqual(another *LinkedCollectionNode) bool

func (*LinkedCollectionNode) IsEqualValue added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) IsEqualValue(collection *Collection) bool

func (*LinkedCollectionNode) Join added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) Join(separator string) *string

func (*LinkedCollectionNode) ListPtr added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) ListPtr() *[]string

func (*LinkedCollectionNode) LoopEndOfChain added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) LoopEndOfChain(
	processor LinkedCollectionSimpleProcessor,
) (endOfLoop *LinkedCollectionNode, length int)

func (*LinkedCollectionNode) Next added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) Next() *LinkedCollectionNode

func (*LinkedCollectionNode) Print added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) Print(header string)

func (*LinkedCollectionNode) String added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) String() string

func (*LinkedCollectionNode) StringListPtr added in v0.2.0

func (linkedCollectionNode *LinkedCollectionNode) StringListPtr(header string) *string

type LinkedCollectionProcessorParameter added in v0.2.0

type LinkedCollectionProcessorParameter struct {
	Index                       int
	CurrentNode, PrevNode       *LinkedCollectionNode
	IsFirstIndex, IsEndingIndex bool
}

type LinkedCollectionSimpleProcessor added in v0.2.0

type LinkedCollectionSimpleProcessor func(
	arg *LinkedCollectionProcessorParameter,
) (isBreak bool)

type LinkedCollections added in v0.2.0

type LinkedCollections struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyLinkedCollections added in v0.2.0

func EmptyLinkedCollections() *LinkedCollections

func NewLinkedCollections added in v0.2.0

func NewLinkedCollections() *LinkedCollections

func NewLinkedCollectionsUsingCollections added in v0.2.0

func NewLinkedCollectionsUsingCollections(
	collections ...*Collection,
) *LinkedCollections

func NewLinkedCollectionsUsingPointerStrings added in v0.2.0

func NewLinkedCollectionsUsingPointerStrings(
	stringItems *[]*string,
) *LinkedCollections

func NewLinkedCollectionsUsingStringsPtr added in v0.2.0

func NewLinkedCollectionsUsingStringsPtr(
	stringItems *[]string,
	isMakeClone bool,
) *LinkedCollections

func (*LinkedCollections) Add added in v0.2.0

func (linkedCollections *LinkedCollections) Add(collection *Collection) *LinkedCollections

func (*LinkedCollections) AddAfterNode added in v0.2.0

func (linkedCollections *LinkedCollections) AddAfterNode(
	node *LinkedCollectionNode,
	collection *Collection,
) *LinkedCollectionNode

func (*LinkedCollections) AddAfterNodeAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddAfterNodeAsync(
	wg *sync.WaitGroup,
	node *LinkedCollectionNode,
	collection *Collection,
)

func (*LinkedCollections) AddAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddAsync(
	collection *Collection,
	wg *sync.WaitGroup,
) *LinkedCollections

func (*LinkedCollections) AddAsyncFuncItems added in v0.5.6

func (linkedCollections *LinkedCollections) AddAsyncFuncItems(
	wg *sync.WaitGroup,
	isMakeClone bool,
	asyncFunctions ...func() []string,
) *LinkedCollections

AddAsyncFuncItems must add all the lengths to the wg

func (*LinkedCollections) AddAsyncFuncItemsPointer added in v0.5.7

func (linkedCollections *LinkedCollections) AddAsyncFuncItemsPointer(
	wg *sync.WaitGroup,
	isMakeClone bool,
	asyncFunctions ...func() *[]string,
) *LinkedCollections

AddAsyncFuncItemsPointer must add all the lengths to the wg

func (*LinkedCollections) AddBackNode added in v0.2.0

func (linkedCollections *LinkedCollections) AddBackNode(node *LinkedCollectionNode) *LinkedCollections

func (*LinkedCollections) AddCollection added in v0.2.0

func (linkedCollections *LinkedCollections) AddCollection(
	collection *Collection,
) *LinkedCollections

AddCollection skip on nil

func (*LinkedCollections) AddCollectionToNode added in v0.2.0

func (linkedCollections *LinkedCollections) AddCollectionToNode(
	isSkipOnNull bool,
	node *LinkedCollectionNode,
	collection *Collection,
) *LinkedCollections

AddCollectionToNode iSkipOnNil

func (*LinkedCollections) AddCollectionsPointerToNode added in v0.2.0

func (linkedCollections *LinkedCollections) AddCollectionsPointerToNode(
	isSkipOnNull bool,
	node *LinkedCollectionNode,
	items *[]*Collection,
) *LinkedCollections

AddCollectionsPointerToNode iSkipOnNil

func (*LinkedCollections) AddCollectionsToNode added in v0.2.0

func (linkedCollections *LinkedCollections) AddCollectionsToNode(
	isSkipOnNull bool,
	node *LinkedCollectionNode,
	collections ...*Collection,
) *LinkedCollections

AddCollectionsToNode iSkipOnNil

func (*LinkedCollections) AddCollectionsToNodeAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddCollectionsToNodeAsync(
	isSkipOnNull bool,
	wg *sync.WaitGroup,
	node *LinkedCollectionNode,
	collections ...*Collection,
) *LinkedCollections

AddCollectionsToNodeAsync iSkipOnNil

func (*LinkedCollections) AddFront added in v0.2.0

func (linkedCollections *LinkedCollections) AddFront(collection *Collection) *LinkedCollections

func (*LinkedCollections) AddFrontLock added in v0.2.1

func (linkedCollections *LinkedCollections) AddFrontLock(collection *Collection) *LinkedCollections

func (*LinkedCollections) AddLock added in v0.2.1

func (linkedCollections *LinkedCollections) AddLock(collection *Collection) *LinkedCollections

func (*LinkedCollections) AddPointerStringsPtr added in v0.2.0

func (linkedCollections *LinkedCollections) AddPointerStringsPtr(
	items *[]*string,
) *LinkedCollections

AddPointerStringsPtr skip on nil, add to back

func (*LinkedCollections) AddPointerStringsPtrAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddPointerStringsPtrAsync(
	wg *sync.WaitGroup,
	items *[]*string,
) *LinkedCollections

AddPointerStringsPtrAsync skip on nil, add to back

func (*LinkedCollections) AddStrings added in v0.2.2

func (linkedCollections *LinkedCollections) AddStrings(stringsItems ...string) *LinkedCollections

func (*LinkedCollections) AddStringsLock added in v0.2.2

func (linkedCollections *LinkedCollections) AddStringsLock(stringsItems ...string) *LinkedCollections

func (*LinkedCollections) AddStringsOfStringsPtr added in v0.5.7

func (linkedCollections *LinkedCollections) AddStringsOfStringsPtr(
	items *[]*[]string,
	isMakeClone bool,
) *LinkedCollections

AddStringsOfStringsPtr add to back

func (*LinkedCollections) AddStringsPtr added in v0.2.0

func (linkedCollections *LinkedCollections) AddStringsPtr(
	items *[]string,
	isMakeClone bool,
) *LinkedCollections

AddStringsPtr add to back

func (*LinkedCollections) AddStringsPtrAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddStringsPtrAsync(
	wg *sync.WaitGroup,
	items *[]string,
	isMakeClone bool,
) *LinkedCollections

AddStringsPtrAsync add to back

func (*LinkedCollections) AddsAsyncOnComplete added in v0.2.0

func (linkedCollections *LinkedCollections) AddsAsyncOnComplete(
	onComplete OnCompleteLinkedCollections,
	isSkipOnNil bool,
	collections ...*Collection,
) *LinkedCollections

AddsAsyncOnComplete Append back

func (*LinkedCollections) AddsUsingProcessorAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AddsUsingProcessorAsync(
	wg *sync.WaitGroup,
	processor AnyToCollectionProcessor,
	isSkipOnNil bool,
	anys ...interface{},
) *LinkedCollections

AddsUsingProcessorAsync Append back

func (*LinkedCollections) AddsUsingProcessorAsyncOnComplete added in v0.2.0

func (linkedCollections *LinkedCollections) AddsUsingProcessorAsyncOnComplete(
	onComplete OnCompleteLinkedCollections,
	processor AnyToCollectionProcessor,
	isSkipOnNil bool,
	anys ...interface{},
) *LinkedCollections

AddsUsingProcessorAsyncOnComplete Append back

func (*LinkedCollections) AllIndividualItemsLength added in v0.2.0

func (linkedCollections *LinkedCollections) AllIndividualItemsLength() int

AllIndividualItemsLength including all nested ones

func (*LinkedCollections) AppendChainOfNodes added in v0.2.0

func (linkedCollections *LinkedCollections) AppendChainOfNodes(nodeHead *LinkedCollectionNode) *LinkedCollections

func (*LinkedCollections) AppendChainOfNodesAsync added in v0.2.0

func (linkedCollections *LinkedCollections) AppendChainOfNodesAsync(
	nodeHead *LinkedCollectionNode,
	wg *sync.WaitGroup,
) *LinkedCollections

func (*LinkedCollections) AppendCollections added in v0.2.0

func (linkedCollections *LinkedCollections) AppendCollections(
	isSkipOnNull bool,
	collections ...*Collection,
) *LinkedCollections

AppendCollections iSkipOnNil

func (*LinkedCollections) AppendCollectionsPointers added in v0.2.0

func (linkedCollections *LinkedCollections) AppendCollectionsPointers(
	isSkipOnNull bool,
	collections *[]*Collection,
) *LinkedCollections

AppendCollectionsPointers iSkipOnNil

func (*LinkedCollections) AppendCollectionsPointersLock added in v0.2.1

func (linkedCollections *LinkedCollections) AppendCollectionsPointersLock(
	isSkipOnNull bool,
	collections *[]*Collection,
) *LinkedCollections

AppendCollectionsPointersLock iSkipOnNil

func (*LinkedCollections) AppendNode added in v0.2.0

func (linkedCollections *LinkedCollections) AppendNode(node *LinkedCollectionNode) *LinkedCollections

func (*LinkedCollections) AsJsonMarshaller added in v0.2.0

func (linkedCollections *LinkedCollections) AsJsonMarshaller() corejson.JsonMarshaller

func (*LinkedCollections) AsJsonParseSelfInjector added in v0.2.0

func (linkedCollections *LinkedCollections) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector

func (*LinkedCollections) AsJsoner added in v0.2.0

func (linkedCollections *LinkedCollections) AsJsoner() corejson.Jsoner

func (*LinkedCollections) AttachWithNode added in v0.2.0

func (linkedCollections *LinkedCollections) AttachWithNode(
	currentNode,
	addingNode *LinkedCollectionNode,
) error

func (*LinkedCollections) Clear added in v0.2.0

func (linkedCollections *LinkedCollections) Clear() *LinkedCollections

func (*LinkedCollections) Filter added in v0.2.0

func (linkedCollections *LinkedCollections) Filter(
	filter LinkedCollectionFilter,
) *[]*LinkedCollectionNode

func (*LinkedCollections) FilterAsCollection added in v0.2.0

func (linkedCollections *LinkedCollections) FilterAsCollection(
	filter LinkedCollectionFilter,
	additionalCapacity int,
) *Collection

func (*LinkedCollections) FilterAsCollections added in v0.2.0

func (linkedCollections *LinkedCollections) FilterAsCollections(
	filter LinkedCollectionFilter,
) *[]*Collection

func (*LinkedCollections) First added in v0.2.0

func (linkedCollections *LinkedCollections) First() *Collection

func (*LinkedCollections) FirstOrDefault added in v0.2.0

func (linkedCollections *LinkedCollections) FirstOrDefault() *Collection

func (*LinkedCollections) GetAllLinkedNodes added in v0.2.0

func (linkedCollections *LinkedCollections) GetAllLinkedNodes() *[]*LinkedCollectionNode

func (*LinkedCollections) GetCompareSummary added in v0.2.0

func (linkedCollections *LinkedCollections) GetCompareSummary(
	right *LinkedCollections, leftName, rightName string,
) string

func (*LinkedCollections) GetNextNodes added in v0.2.1

func (linkedCollections *LinkedCollections) GetNextNodes(count int) *[]*LinkedCollectionNode

func (*LinkedCollections) HasItems added in v0.3.0

func (linkedCollections *LinkedCollections) HasItems() bool

func (*LinkedCollections) Head added in v0.2.0

func (linkedCollections *LinkedCollections) Head() *LinkedCollectionNode

func (*LinkedCollections) IndexAt added in v0.2.0

func (linkedCollections *LinkedCollections) IndexAt(
	index int,
) *LinkedCollectionNode

IndexAt Expensive operation BigO(n)

func (*LinkedCollections) InsertAt added in v0.2.0

func (linkedCollections *LinkedCollections) InsertAt(
	index int,
	collection *Collection,
) *LinkedCollections

InsertAt BigO(n) expensive operation.

func (*LinkedCollections) IsEmpty added in v0.2.0

func (linkedCollections *LinkedCollections) IsEmpty() bool

func (*LinkedCollections) IsEmptyLock added in v0.2.0

func (linkedCollections *LinkedCollections) IsEmptyLock() bool

func (*LinkedCollections) IsEqualsPtr added in v0.2.0

func (linkedCollections *LinkedCollections) IsEqualsPtr(
	anotherLinkedCollections *LinkedCollections,
) bool

func (*LinkedCollections) ItemsOfItems added in v0.5.6

func (linkedCollections *LinkedCollections) ItemsOfItems() *[]*[]string

func (*LinkedCollections) ItemsOfItemsCollection added in v0.5.6

func (linkedCollections *LinkedCollections) ItemsOfItemsCollection() *[]*Collection

func (*LinkedCollections) Join added in v0.2.0

func (linkedCollections *LinkedCollections) Join(
	separator string,
) string

func (*LinkedCollections) Joins added in v0.2.0

func (linkedCollections *LinkedCollections) Joins(
	separator string,
	items ...string,
) string

func (*LinkedCollections) Json added in v0.2.0

func (linkedCollections *LinkedCollections) Json() *corejson.Result

func (*LinkedCollections) JsonModel added in v0.2.0

func (linkedCollections *LinkedCollections) JsonModel() *CollectionDataModel

func (*LinkedCollections) JsonModelAny added in v0.2.0

func (linkedCollections *LinkedCollections) JsonModelAny() interface{}

func (*LinkedCollections) JsonParseSelfInject added in v0.2.0

func (linkedCollections *LinkedCollections) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

func (*LinkedCollections) Last added in v0.2.0

func (linkedCollections *LinkedCollections) Last() *Collection

func (*LinkedCollections) LastOrDefault added in v0.2.0

func (linkedCollections *LinkedCollections) LastOrDefault() *Collection

func (*LinkedCollections) Length added in v0.2.0

func (linkedCollections *LinkedCollections) Length() int

func (*LinkedCollections) LengthLock added in v0.2.0

func (linkedCollections *LinkedCollections) LengthLock() int

func (*LinkedCollections) ListPtr added in v0.2.0

func (linkedCollections *LinkedCollections) ListPtr() *[]string

ListPtr must return slice.

func (*LinkedCollections) Loop added in v0.2.0

func (linkedCollections *LinkedCollections) Loop(
	simpleProcessor LinkedCollectionSimpleProcessor,
) *LinkedCollections

func (*LinkedCollections) MarshalJSON added in v0.2.0

func (linkedCollections *LinkedCollections) MarshalJSON() ([]byte, error)

func (*LinkedCollections) ParseInjectUsingJson added in v0.2.0

func (linkedCollections *LinkedCollections) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*LinkedCollections, error)

func (*LinkedCollections) ParseInjectUsingJsonMust added in v0.2.0

func (linkedCollections *LinkedCollections) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *LinkedCollections

ParseInjectUsingJsonMust Panic if error

func (*LinkedCollections) Push added in v0.2.0

func (linkedCollections *LinkedCollections) Push(collection *Collection) *LinkedCollections

func (*LinkedCollections) PushBack added in v0.2.0

func (linkedCollections *LinkedCollections) PushBack(collection *Collection) *LinkedCollections

func (*LinkedCollections) PushBackLock added in v0.2.1

func (linkedCollections *LinkedCollections) PushBackLock(collection *Collection) *LinkedCollections

func (*LinkedCollections) PushFront added in v0.2.0

func (linkedCollections *LinkedCollections) PushFront(collection *Collection) *LinkedCollections

func (*LinkedCollections) RemoveAll added in v0.2.0

func (linkedCollections *LinkedCollections) RemoveAll() *LinkedCollections

func (*LinkedCollections) RemoveNode added in v0.2.0

func (linkedCollections *LinkedCollections) RemoveNode(
	removingNode *LinkedCollectionNode,
) *LinkedCollections

func (*LinkedCollections) RemoveNodeByIndex added in v0.2.0

func (linkedCollections *LinkedCollections) RemoveNodeByIndex(
	removingIndex int,
) *LinkedCollections

func (*LinkedCollections) RemoveNodeByIndexes added in v0.2.0

func (linkedCollections *LinkedCollections) RemoveNodeByIndexes(
	isIgnorePanic bool,
	removingIndexes ...int,
) *LinkedCollections

func (*LinkedCollections) SafeIndexAt added in v0.2.0

func (linkedCollections *LinkedCollections) SafeIndexAt(
	index int,
) *LinkedCollectionNode

SafeIndexAt Expensive operation BigO(n)

func (*LinkedCollections) SafePointerIndexAt added in v0.2.0

func (linkedCollections *LinkedCollections) SafePointerIndexAt(
	index int,
) *Collection

SafePointerIndexAt Expensive operation BigO(n)

func (*LinkedCollections) Single added in v0.2.0

func (linkedCollections *LinkedCollections) Single() *Collection

func (*LinkedCollections) String added in v0.2.0

func (linkedCollections *LinkedCollections) String() string

func (*LinkedCollections) StringLock added in v0.2.0

func (linkedCollections *LinkedCollections) StringLock() string

func (*LinkedCollections) Tail added in v0.2.0

func (linkedCollections *LinkedCollections) Tail() *LinkedCollectionNode

func (*LinkedCollections) ToCollection added in v0.2.0

func (linkedCollections *LinkedCollections) ToCollection(
	addCapacity int,
) *Collection

func (*LinkedCollections) ToCollectionsOfCollection added in v0.2.0

func (linkedCollections *LinkedCollections) ToCollectionsOfCollection(
	addCapacity int,
) *CollectionsOfCollection

func (*LinkedCollections) UnmarshalJSON added in v0.2.0

func (linkedCollections *LinkedCollections) UnmarshalJSON(data []byte) error

type LinkedList added in v0.2.0

type LinkedList struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func EmptyLinkedList added in v0.2.0

func EmptyLinkedList() *LinkedList

func NewLinkedList added in v0.2.0

func NewLinkedList() *LinkedList

func NewLinkedListUsingPointerStrings added in v0.2.0

func NewLinkedListUsingPointerStrings(
	stringItems *[]*string,
) *LinkedList

func NewLinkedListUsingStringsPtr added in v0.2.0

func NewLinkedListUsingStringsPtr(
	stringItems *[]string,
) *LinkedList

func (*LinkedList) Add added in v0.2.0

func (linkedList *LinkedList) Add(item string) *LinkedList

func (*LinkedList) AddAfterNode added in v0.2.0

func (linkedList *LinkedList) AddAfterNode(
	node *LinkedListNode,
	item string,
) *LinkedListNode

func (*LinkedList) AddBackNode added in v0.2.0

func (linkedList *LinkedList) AddBackNode(node *LinkedListNode) *LinkedList

func (*LinkedList) AddCollection added in v0.2.0

func (linkedList *LinkedList) AddCollection(collection *Collection) *LinkedList

AddCollection skip on nil

func (*LinkedList) AddCollectionToNode added in v0.2.0

func (linkedList *LinkedList) AddCollectionToNode(
	isSkipOnNull bool,
	node *LinkedListNode,
	collection *Collection,
) *LinkedList

AddCollectionToNode iSkipOnNil

func (*LinkedList) AddFront added in v0.2.0

func (linkedList *LinkedList) AddFront(item string) *LinkedList

func (*LinkedList) AddFunc added in v0.4.1

func (linkedList *LinkedList) AddFunc(f func() string) *LinkedList

func (*LinkedList) AddFuncErr added in v0.4.1

func (linkedList *LinkedList) AddFuncErr(
	funcReturnsStringError func() (result string, err error),
	errHandler func(errInput error),
) *LinkedList

func (*LinkedList) AddIf added in v0.4.1

func (linkedList *LinkedList) AddIf(isAdd bool, item string) *LinkedList

func (*LinkedList) AddIfMany added in v0.4.1

func (linkedList *LinkedList) AddIfMany(
	isAdd bool,
	addingStrings ...string,
) *LinkedList

func (*LinkedList) AddLock added in v0.2.0

func (linkedList *LinkedList) AddLock(item string) *LinkedList

func (*LinkedList) AddNonEmpty added in v0.4.1

func (linkedList *LinkedList) AddNonEmpty(item string) *LinkedList

func (*LinkedList) AddNonEmptyWhitespace added in v0.4.1

func (linkedList *LinkedList) AddNonEmptyWhitespace(item string) *LinkedList

func (*LinkedList) AddPointerStringsPtr added in v0.2.0

func (linkedList *LinkedList) AddPointerStringsPtr(items *[]*string) *LinkedList

AddPointerStringsPtr skip on nil, add to back

func (*LinkedList) AddStringsPtr added in v0.2.0

func (linkedList *LinkedList) AddStringsPtr(items *[]string) *LinkedList

AddStringsPtr add to back

func (*LinkedList) AddStringsPtrLock added in v0.2.0

func (linkedList *LinkedList) AddStringsPtrLock(items *[]string) *LinkedList

AddStringsPtrLock add to back

func (*LinkedList) AddStringsPtrToNode added in v0.2.0

func (linkedList *LinkedList) AddStringsPtrToNode(
	isSkipOnNull bool,
	node *LinkedListNode,
	items *[]string,
) *LinkedList

AddStringsPtrToNode iSkipOnNil

func (*LinkedList) AppendChainOfNodes added in v0.2.0

func (linkedList *LinkedList) AppendChainOfNodes(nodeHead *LinkedListNode) *LinkedList

func (*LinkedList) AppendNode added in v0.2.0

func (linkedList *LinkedList) AppendNode(node *LinkedListNode) *LinkedList

func (*LinkedList) AsJsonMarshaller added in v0.2.0

func (linkedList *LinkedList) AsJsonMarshaller() corejson.JsonMarshaller

func (*LinkedList) AttachWithNode added in v0.2.0

func (linkedList *LinkedList) AttachWithNode(currentNode, addingNode *LinkedListNode) error

func (*LinkedList) Clear added in v0.2.0

func (linkedList *LinkedList) Clear() *LinkedList

func (*LinkedList) Filter added in v0.2.0

func (linkedList *LinkedList) Filter(
	filter LinkedListFilter,
) *[]*LinkedListNode

func (*LinkedList) GetAllLinkedNodes added in v0.2.1

func (linkedList *LinkedList) GetAllLinkedNodes() *[]*LinkedListNode

func (*LinkedList) GetCompareSummary added in v0.2.0

func (linkedList *LinkedList) GetCompareSummary(
	right *LinkedList,
	leftName, rightName string,
) string

func (*LinkedList) GetNextNodes added in v0.2.1

func (linkedList *LinkedList) GetNextNodes(count int) *[]*LinkedListNode

func (*LinkedList) HasItems added in v0.3.0

func (linkedList *LinkedList) HasItems() bool

func (*LinkedList) Head added in v0.2.0

func (linkedList *LinkedList) Head() *LinkedListNode

func (*LinkedList) IndexAt added in v0.2.0

func (linkedList *LinkedList) IndexAt(index int) *LinkedListNode

IndexAt Expensive operation BigO(n)

func (*LinkedList) InsertAt added in v0.2.0

func (linkedList *LinkedList) InsertAt(index int, item string) *LinkedList

InsertAt BigO(n) expensive operation.

func (*LinkedList) IsEmpty added in v0.2.0

func (linkedList *LinkedList) IsEmpty() bool

func (*LinkedList) IsEmptyLock added in v0.2.0

func (linkedList *LinkedList) IsEmptyLock() bool

func (*LinkedList) IsEquals added in v0.2.0

func (linkedList *LinkedList) IsEquals(
	anotherLinkedList LinkedList,
) bool

func (*LinkedList) IsEqualsPtr added in v0.2.0

func (linkedList *LinkedList) IsEqualsPtr(
	anotherLinkedList *LinkedList,
) bool

func (*LinkedList) IsEqualsWithSensitivePtr added in v0.2.0

func (linkedList *LinkedList) IsEqualsWithSensitivePtr(
	anotherLinkedList *LinkedList,
	isCaseSensitive bool,
) bool

func (*LinkedList) Join added in v0.2.0

func (linkedList *LinkedList) Join(
	separator string,
) string

func (*LinkedList) JoinLock added in v0.2.0

func (linkedList *LinkedList) JoinLock(
	separator string,
) string

func (*LinkedList) Joins added in v0.2.0

func (linkedList *LinkedList) Joins(
	separator string,
	items ...string,
) string

func (*LinkedList) Json added in v0.2.0

func (linkedList *LinkedList) Json() *corejson.Result

func (*LinkedList) JsonModel added in v0.2.0

func (linkedList *LinkedList) JsonModel() *CollectionDataModel

func (*LinkedList) JsonModelAny added in v0.2.0

func (linkedList *LinkedList) JsonModelAny() interface{}

func (*LinkedList) JsonParseSelfInject added in v0.2.0

func (linkedList *LinkedList) JsonParseSelfInject(
	jsonResult *corejson.Result,
) error

JsonParseSelfInject Panic if error

func (*LinkedList) Length added in v0.2.0

func (linkedList *LinkedList) Length() int

func (*LinkedList) LengthLock added in v0.2.0

func (linkedList *LinkedList) LengthLock() int

func (*LinkedList) ListPtr added in v0.2.0

func (linkedList *LinkedList) ListPtr() *[]string

ListPtr must return slice.

func (*LinkedList) ListPtrLock added in v0.2.0

func (linkedList *LinkedList) ListPtrLock() *[]string

ListPtrLock must return slice.

func (*LinkedList) Loop added in v0.2.0

func (linkedList *LinkedList) Loop(
	simpleProcessor LinkedListSimpleProcessor,
) *LinkedList

func (*LinkedList) MarshalJSON added in v0.2.0

func (linkedList *LinkedList) MarshalJSON() ([]byte, error)

func (*LinkedList) ParseInjectUsingJson added in v0.2.0

func (linkedList *LinkedList) ParseInjectUsingJson(
	jsonResult *corejson.Result,
) (*LinkedList, error)

func (*LinkedList) ParseInjectUsingJsonMust added in v0.2.0

func (linkedList *LinkedList) ParseInjectUsingJsonMust(
	jsonResult *corejson.Result,
) *LinkedList

ParseInjectUsingJsonMust Panic if error

func (*LinkedList) Push added in v0.2.0

func (linkedList *LinkedList) Push(item string) *LinkedList

func (*LinkedList) PushBack added in v0.2.0

func (linkedList *LinkedList) PushBack(item string) *LinkedList

func (*LinkedList) PushFront added in v0.2.0

func (linkedList *LinkedList) PushFront(item string) *LinkedList

func (*LinkedList) RemoveAll added in v0.2.0

func (linkedList *LinkedList) RemoveAll() *LinkedList

func (*LinkedList) RemoveNode added in v0.2.0

func (linkedList *LinkedList) RemoveNode(
	removingNode *LinkedListNode,
) *LinkedList

RemoveNode skip if removingNode is nil

func (*LinkedList) RemoveNodeByElementValue added in v0.2.0

func (linkedList *LinkedList) RemoveNodeByElementValue(
	element string,
	isCaseSensitive bool,
	isIgnorePanic bool,
) *LinkedList

func (*LinkedList) RemoveNodeByIndex added in v0.2.0

func (linkedList *LinkedList) RemoveNodeByIndex(
	removingIndex int,
) *LinkedList

func (*LinkedList) RemoveNodeByIndexes added in v0.2.0

func (linkedList *LinkedList) RemoveNodeByIndexes(
	isIgnorePanic bool,
	removingIndexes ...int,
) *LinkedList

func (*LinkedList) SafeIndexAt added in v0.2.0

func (linkedList *LinkedList) SafeIndexAt(index int) *LinkedListNode

SafeIndexAt Expensive operation BigO(n)

func (*LinkedList) SafeIndexAtLock added in v0.2.0

func (linkedList *LinkedList) SafeIndexAtLock(index int) *LinkedListNode

SafeIndexAtLock Expensive operation BigO(n)

func (*LinkedList) SafePointerIndexAt added in v0.2.0

func (linkedList *LinkedList) SafePointerIndexAt(index int) *string

SafePointerIndexAt Expensive operation BigO(n)

func (*LinkedList) SafePointerIndexAtUsingDefault added in v0.2.0

func (linkedList *LinkedList) SafePointerIndexAtUsingDefault(
	index int,
	defaultString string,
) string

SafePointerIndexAtUsingDefault Expensive operation BigO(n)

func (*LinkedList) SafePointerIndexAtUsingDefaultLock added in v0.2.0

func (linkedList *LinkedList) SafePointerIndexAtUsingDefaultLock(
	index int,
	defaultString string,
) string

SafePointerIndexAtUsingDefaultLock Expensive operation BigO(n)

func (*LinkedList) String added in v0.2.0

func (linkedList *LinkedList) String() string

func (*LinkedList) StringLock added in v0.2.0

func (linkedList *LinkedList) StringLock() string

func (*LinkedList) Tail added in v0.2.0

func (linkedList *LinkedList) Tail() *LinkedListNode

func (*LinkedList) ToCollection added in v0.2.0

func (linkedList *LinkedList) ToCollection(addCapacity int) *Collection

func (*LinkedList) UnmarshalJSON added in v0.2.0

func (linkedList *LinkedList) UnmarshalJSON(data []byte) error

type LinkedListFilter added in v0.2.0

type LinkedListFilter func(arg *LinkedListFilterParameter) *LinkedListFilterResult

type LinkedListFilterParameter added in v0.2.0

type LinkedListFilterParameter struct {
	Node  *LinkedListNode
	Index int
}

type LinkedListFilterResult added in v0.2.0

type LinkedListFilterResult struct {
	Value           *LinkedListNode
	IsKeep, IsBreak bool
}

type LinkedListNode added in v0.2.0

type LinkedListNode struct {
	Element string
	// contains filtered or unexported fields
}

func (*LinkedListNode) AddCollectionToNode added in v0.2.0

func (linkedListNode *LinkedListNode) AddCollectionToNode(
	linkedListForIncrement *LinkedList,
	isSkipOnNull bool,
	collection *Collection,
) *LinkedList

func (*LinkedListNode) AddNext added in v0.2.0

func (linkedListNode *LinkedListNode) AddNext(
	linkedListForIncrement *LinkedList,
	item string,
) *LinkedListNode

func (*LinkedListNode) AddNextNode added in v0.2.0

func (linkedListNode *LinkedListNode) AddNextNode(
	linkedListForIncrement *LinkedList,
	nextNode *LinkedListNode,
) *LinkedListNode

func (*LinkedListNode) AddStringsPtrToNode added in v0.2.0

func (linkedListNode *LinkedListNode) AddStringsPtrToNode(
	linkedListForIncrement *LinkedList,
	isSkipOnNull bool,
	items *[]string,
) *LinkedList

func (*LinkedListNode) Clone added in v0.2.0

func (linkedListNode *LinkedListNode) Clone() *LinkedListNode

func (*LinkedListNode) CreateLinkedList added in v0.2.0

func (linkedListNode *LinkedListNode) CreateLinkedList() *LinkedList

func (*LinkedListNode) EndOfChain added in v0.2.0

func (linkedListNode *LinkedListNode) EndOfChain() (
	endOfChain *LinkedListNode,
	length int,
)

func (*LinkedListNode) HasNext added in v0.2.0

func (linkedListNode *LinkedListNode) HasNext() bool

func (*LinkedListNode) IsChainEqual added in v0.2.0

func (linkedListNode *LinkedListNode) IsChainEqual(
	another *LinkedListNode,
	isCaseSensitive bool,
) bool

func (*LinkedListNode) IsEqual added in v0.2.0

func (linkedListNode *LinkedListNode) IsEqual(another *LinkedListNode) bool

func (*LinkedListNode) IsEqualSensitive added in v0.2.0

func (linkedListNode *LinkedListNode) IsEqualSensitive(
	another *LinkedListNode,
	isCaseSensitive bool,
) bool

func (*LinkedListNode) IsEqualValue added in v0.2.0

func (linkedListNode *LinkedListNode) IsEqualValue(value string) bool

func (*LinkedListNode) IsEqualValueSensitive added in v0.2.0

func (linkedListNode *LinkedListNode) IsEqualValueSensitive(value string, isCaseSensitive bool) bool

func (*LinkedListNode) Join added in v0.2.0

func (linkedListNode *LinkedListNode) Join(separator string) *string

func (*LinkedListNode) ListPtr added in v0.2.0

func (linkedListNode *LinkedListNode) ListPtr() *[]string

func (*LinkedListNode) LoopEndOfChain added in v0.2.0

func (linkedListNode *LinkedListNode) LoopEndOfChain(
	processor LinkedListSimpleProcessor,
) (endOfLoop *LinkedListNode, length int)

func (*LinkedListNode) Next added in v0.2.0

func (linkedListNode *LinkedListNode) Next() *LinkedListNode

func (*LinkedListNode) Print added in v0.2.0

func (linkedListNode *LinkedListNode) Print(header string)

func (*LinkedListNode) String added in v0.2.0

func (linkedListNode *LinkedListNode) String() string

func (*LinkedListNode) StringListPtr added in v0.2.0

func (linkedListNode *LinkedListNode) StringListPtr(header string) *string

type LinkedListProcessorParameter added in v0.2.0

type LinkedListProcessorParameter struct {
	Index                       int
	CurrentNode, PrevNode       *LinkedListNode
	IsFirstIndex, IsEndingIndex bool
}

type LinkedListSimpleProcessor added in v0.2.0

type LinkedListSimpleProcessor func(
	arg *LinkedListProcessorParameter,
) (isBreak bool)

type NonChainedLinkedCollectionNodes added in v0.2.0

type NonChainedLinkedCollectionNodes struct {
	// contains filtered or unexported fields
}

func NewNonChainedLinkedCollectionNodes added in v0.2.0

func NewNonChainedLinkedCollectionNodes(
	capacity int,
) *NonChainedLinkedCollectionNodes

func (*NonChainedLinkedCollectionNodes) Adds added in v0.2.0

func (*NonChainedLinkedCollectionNodes) ApplyChaining added in v0.2.0

ApplyChaining Warning Mutates data inside.

func (*NonChainedLinkedCollectionNodes) First added in v0.2.0

func (*NonChainedLinkedCollectionNodes) FirstOrDefault added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) FirstOrDefault() *LinkedCollectionNode

func (*NonChainedLinkedCollectionNodes) HasItems added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) HasItems() bool

func (*NonChainedLinkedCollectionNodes) IsChainingApplied added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) IsChainingApplied() bool

func (*NonChainedLinkedCollectionNodes) IsEmpty added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) IsEmpty() bool

func (*NonChainedLinkedCollectionNodes) Items added in v0.2.0

func (*NonChainedLinkedCollectionNodes) Last added in v0.2.0

func (*NonChainedLinkedCollectionNodes) LastOrDefault added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) LastOrDefault() *LinkedCollectionNode

func (*NonChainedLinkedCollectionNodes) Length added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) Length() int

func (*NonChainedLinkedCollectionNodes) ToChainedNodes added in v0.2.0

func (receiver *NonChainedLinkedCollectionNodes) ToChainedNodes() *[]*LinkedCollectionNode

type NonChainedLinkedListNodes added in v0.2.0

type NonChainedLinkedListNodes struct {
	// contains filtered or unexported fields
}

func NewNonChainedLinkedListNodes added in v0.2.0

func NewNonChainedLinkedListNodes(
	capacity int,
) *NonChainedLinkedListNodes

func (*NonChainedLinkedListNodes) Adds added in v0.2.0

func (*NonChainedLinkedListNodes) ApplyChaining added in v0.2.0

func (receiver *NonChainedLinkedListNodes) ApplyChaining() *NonChainedLinkedListNodes

ApplyChaining Warning Mutates data inside.

func (*NonChainedLinkedListNodes) First added in v0.2.0

func (receiver *NonChainedLinkedListNodes) First() *LinkedListNode

func (*NonChainedLinkedListNodes) FirstOrDefault added in v0.2.0

func (receiver *NonChainedLinkedListNodes) FirstOrDefault() *LinkedListNode

func (*NonChainedLinkedListNodes) HasItems added in v0.2.0

func (receiver *NonChainedLinkedListNodes) HasItems() bool

func (*NonChainedLinkedListNodes) IsChainingApplied added in v0.2.0

func (receiver *NonChainedLinkedListNodes) IsChainingApplied() bool

func (*NonChainedLinkedListNodes) IsEmpty added in v0.2.0

func (receiver *NonChainedLinkedListNodes) IsEmpty() bool

func (*NonChainedLinkedListNodes) Items added in v0.2.0

func (receiver *NonChainedLinkedListNodes) Items() *[]*LinkedListNode

func (*NonChainedLinkedListNodes) Last added in v0.2.0

func (receiver *NonChainedLinkedListNodes) Last() *LinkedListNode

func (*NonChainedLinkedListNodes) LastOrDefault added in v0.2.0

func (receiver *NonChainedLinkedListNodes) LastOrDefault() *LinkedListNode

func (*NonChainedLinkedListNodes) Length added in v0.2.0

func (receiver *NonChainedLinkedListNodes) Length() int

func (*NonChainedLinkedListNodes) ToChainedNodes added in v0.2.0

func (receiver *NonChainedLinkedListNodes) ToChainedNodes() *[]*LinkedListNode

type OnCompleteCharCollectionMap

type OnCompleteCharCollectionMap func(charCollection *CharCollectionMap)

type OnCompleteCharHashsetMap

type OnCompleteCharHashsetMap func(charHashset *CharHashsetMap)

type OnCompleteLinkedCollections added in v0.2.0

type OnCompleteLinkedCollections func(linkedCollections *LinkedCollections)

type ReturningBool added in v0.2.0

type ReturningBool struct {
	IsBreak, IsKeep bool
}

type ValueStatus added in v0.4.7

type ValueStatus struct {
	ValueValid *ValueValid
	Index      int
}

func InvalidValueStatus added in v0.5.1

func InvalidValueStatus(message string) *ValueStatus

func InvalidValueStatusNoMessage added in v0.5.1

func InvalidValueStatusNoMessage() *ValueStatus

func (*ValueStatus) Clone added in v0.5.1

func (v *ValueStatus) Clone() *ValueStatus

type ValueValid added in v0.4.7

type ValueValid struct {
	Value string

	IsValid bool
	Message string
	// contains filtered or unexported fields
}

func InvalidValueValid added in v0.5.1

func InvalidValueValid(message string) *ValueValid

func InvalidValueValidNoMessage added in v0.5.1

func InvalidValueValidNoMessage() *ValueValid

func (*ValueValid) Clone added in v0.5.1

func (receiver *ValueValid) Clone() *ValueValid

func (*ValueValid) HasSafeNonEmpty added in v0.4.7

func (receiver *ValueValid) HasSafeNonEmpty() bool

HasSafeNonEmpty receiver.IsValid &&

!receiver.IsLeftEmpty() &&
!receiver.IsMiddleEmpty() &&
!receiver.IsRightEmpty()

func (*ValueValid) HasValidNonEmpty added in v0.4.7

func (receiver *ValueValid) HasValidNonEmpty() bool

func (*ValueValid) HasValidNonWhitespace added in v0.4.7

func (receiver *ValueValid) HasValidNonWhitespace() bool

func (*ValueValid) Is added in v0.4.7

func (receiver *ValueValid) Is(val string) bool

func (*ValueValid) IsAnyContains added in v0.4.7

func (receiver *ValueValid) IsAnyContains(values ...string) bool

IsAnyContains if length of values are 0 then returns true

func (*ValueValid) IsAnyOf added in v0.4.7

func (receiver *ValueValid) IsAnyOf(values ...string) bool

IsAnyOf if length of values are 0 then returns true

func (*ValueValid) IsContains added in v0.4.7

func (receiver *ValueValid) IsContains(val string) bool

func (*ValueValid) IsEmpty added in v0.4.7

func (receiver *ValueValid) IsEmpty() bool

func (*ValueValid) IsEqualNonSensitive added in v0.4.7

func (receiver *ValueValid) IsEqualNonSensitive(val string) bool

func (*ValueValid) IsRegexMatches added in v0.4.7

func (receiver *ValueValid) IsRegexMatches(regexp *regexp.Regexp) bool

func (*ValueValid) IsWhitespace added in v0.4.7

func (receiver *ValueValid) IsWhitespace() bool

func (*ValueValid) Trim added in v0.5.7

func (receiver *ValueValid) Trim() string

func (*ValueValid) ValueBytesOnce added in v0.4.7

func (receiver *ValueValid) ValueBytesOnce() []byte

func (*ValueValid) ValueBytesOncePtr added in v0.4.7

func (receiver *ValueValid) ValueBytesOncePtr() *[]byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL