Documentation
¶
Index ¶
- func NewDropN[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewDropWhile[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewJoin[TKey any, TValue any](originals ...ds.ReadForIndexIterator[TKey, TValue]) ds.ReadForIndexIterator[TKey, TValue]
- func NewReplaceIf[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewStrided[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewTakeIf[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewTakeN[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewTakeWhile[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewTransformIterator[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- func NewTransformUnsafeIterator[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], ...) compounditerators.ReadForIndexIterator[TKey, TValue]
- type DropN
- func (it *DropN[TKey, TValue]) Get() (value TValue, found bool)
- func (it *DropN[TKey, TValue]) Index() (int, bool)
- func (it *DropN[TKey, TValue]) IsBegin() bool
- func (it *DropN[TKey, TValue]) IsEnd() bool
- func (it *DropN[TKey, TValue]) IsFirst() bool
- func (it *DropN[TKey, TValue]) IsLast() bool
- func (it *DropN[TKey, TValue]) IsValid() bool
- func (it *DropN[TKey, TValue]) Next() bool
- func (it *DropN[TKey, TValue]) NextN(n int) bool
- func (it *DropN[TKey, TValue]) Size() int
- type DropWhile
- func (it *DropWhile[TKey, TValue]) Get() (value TValue, found bool)
- func (it *DropWhile[TKey, TValue]) Index() (int, bool)
- func (it *DropWhile[TKey, TValue]) IsBegin() bool
- func (it *DropWhile[TKey, TValue]) IsEnd() bool
- func (it *DropWhile[TKey, TValue]) IsFirst() bool
- func (it *DropWhile[TKey, TValue]) IsLast() bool
- func (it *DropWhile[TKey, TValue]) IsValid() bool
- func (it *DropWhile[TKey, TValue]) Next() bool
- func (it *DropWhile[TKey, TValue]) NextN(n int) bool
- func (it *DropWhile[TKey, TValue]) Size() int
- type Join
- func (it *Join[TKey, TValue]) Get() (value TValue, found bool)
- func (it *Join[TKey, TValue]) GetKey() (TKey, bool)
- func (it *Join[TKey, TValue]) Index() (int, bool)
- func (it *Join[TKey, TValue]) IsBegin() bool
- func (it *Join[TKey, TValue]) IsEnd() bool
- func (it *Join[TKey, TValue]) IsFirst() bool
- func (it *Join[TKey, TValue]) IsLast() bool
- func (it *Join[TKey, TValue]) IsValid() bool
- func (it *Join[TKey, TValue]) Next() bool
- func (it *Join[TKey, TValue]) NextN(n int) bool
- func (it *Join[TKey, TValue]) Size() int
- type ReplaceIf
- func (it *ReplaceIf[TKey, TValue]) Get() (value TValue, found bool)
- func (it *ReplaceIf[TKey, TValue]) Index() (int, bool)
- func (it *ReplaceIf[TKey, TValue]) IsBegin() bool
- func (it *ReplaceIf[TKey, TValue]) IsEnd() bool
- func (it *ReplaceIf[TKey, TValue]) IsFirst() bool
- func (it *ReplaceIf[TKey, TValue]) IsLast() bool
- func (it *ReplaceIf[TKey, TValue]) IsValid() bool
- func (it *ReplaceIf[TKey, TValue]) Next() bool
- func (it *ReplaceIf[TKey, TValue]) NextN(n int) bool
- func (it *ReplaceIf[TKey, TValue]) Size() int
- type Strided
- func (it *Strided[TKey, TValue]) Get() (value TValue, found bool)
- func (it *Strided[TKey, TValue]) Index() (int, bool)
- func (it *Strided[TKey, TValue]) IsBegin() bool
- func (it *Strided[TKey, TValue]) IsEnd() bool
- func (it *Strided[TKey, TValue]) IsFirst() bool
- func (it *Strided[TKey, TValue]) IsLast() bool
- func (it *Strided[TKey, TValue]) IsValid() bool
- func (it *Strided[TKey, TValue]) Next() bool
- func (it *Strided[TKey, TValue]) NextN(n int) bool
- func (it *Strided[TKey, TValue]) Size() int
- type TakeIf
- func (it *TakeIf[TKey, TValue]) Get() (value TValue, found bool)
- func (it *TakeIf[TKey, TValue]) Index() (int, bool)
- func (it *TakeIf[TKey, TValue]) IsBegin() bool
- func (it *TakeIf[TKey, TValue]) IsEnd() bool
- func (it *TakeIf[TKey, TValue]) IsFirst() bool
- func (it *TakeIf[TKey, TValue]) IsLast() bool
- func (it *TakeIf[TKey, TValue]) IsValid() bool
- func (it *TakeIf[TKey, TValue]) Next() bool
- func (it *TakeIf[TKey, TValue]) NextN(n int) bool
- func (it *TakeIf[TKey, TValue]) Size() int
- type TakeN
- func (it *TakeN[TKey, TValue]) Get() (value TValue, found bool)
- func (it *TakeN[TKey, TValue]) Index() (int, bool)
- func (it *TakeN[TKey, TValue]) IsBegin() bool
- func (it *TakeN[TKey, TValue]) IsEnd() bool
- func (it *TakeN[TKey, TValue]) IsFirst() bool
- func (it *TakeN[TKey, TValue]) IsLast() bool
- func (it *TakeN[TKey, TValue]) IsValid() bool
- func (it *TakeN[TKey, TValue]) Next() bool
- func (it *TakeN[TKey, TValue]) NextN(n int) bool
- func (it *TakeN[TKey, TValue]) Size() int
- type TakeWhile
- func (it *TakeWhile[TKey, TValue]) Get() (value TValue, found bool)
- func (it *TakeWhile[TKey, TValue]) Index() (int, bool)
- func (it *TakeWhile[TKey, TValue]) IsBegin() bool
- func (it *TakeWhile[TKey, TValue]) IsEnd() bool
- func (it *TakeWhile[TKey, TValue]) IsFirst() bool
- func (it *TakeWhile[TKey, TValue]) IsLast() bool
- func (it *TakeWhile[TKey, TValue]) IsValid() bool
- func (it *TakeWhile[TKey, TValue]) Next() bool
- func (it *TakeWhile[TKey, TValue]) NextN(n int) bool
- func (it *TakeWhile[TKey, TValue]) Size() int
- type Transform
- func (it *Transform[TKey, TValue]) Get() (value TValue, found bool)
- func (it *Transform[TKey, TValue]) Index() (int, bool)
- func (it *Transform[TKey, TValue]) IsBegin() bool
- func (it *Transform[TKey, TValue]) IsEnd() bool
- func (it *Transform[TKey, TValue]) IsFirst() bool
- func (it *Transform[TKey, TValue]) IsLast() bool
- func (it *Transform[TKey, TValue]) IsValid() bool
- func (it *Transform[TKey, TValue]) Next() bool
- func (it *Transform[TKey, TValue]) NextN(n int) bool
- func (it *Transform[TKey, TValue]) Size() int
- type TransformUnsafe
- func (it *TransformUnsafe[TKey, TValue]) Get() (value TValue, found bool)
- func (it *TransformUnsafe[TKey, TValue]) Index() (int, bool)
- func (it *TransformUnsafe[TKey, TValue]) IsBegin() bool
- func (it *TransformUnsafe[TKey, TValue]) IsEnd() bool
- func (it *TransformUnsafe[TKey, TValue]) IsFirst() bool
- func (it *TransformUnsafe[TKey, TValue]) IsLast() bool
- func (it *TransformUnsafe[TKey, TValue]) IsValid() bool
- func (it *TransformUnsafe[TKey, TValue]) Next() bool
- func (it *TransformUnsafe[TKey, TValue]) NextN(n int) bool
- func (it *TransformUnsafe[TKey, TValue]) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDropN ¶
func NewDropN[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewDropWhile ¶
func NewDropWhile[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], unaryPredicate func(TValue) bool) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewJoin ¶
func NewJoin[TKey any, TValue any](originals ...ds.ReadForIndexIterator[TKey, TValue]) ds.ReadForIndexIterator[TKey, TValue]
func NewReplaceIf ¶
func NewReplaceIf[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], unaryPredicate func(TValue) bool, replacement TValue) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewStrided ¶
func NewStrided[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
TODO: Split the Size() method into separate interface
func NewTakeIf ¶
func NewTakeIf[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], unaryPredicate func(TValue) bool) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewTakeN ¶
func NewTakeN[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], n int) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewTakeWhile ¶
func NewTakeWhile[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], unaryPredicate func(TValue) bool) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewTransformIterator ¶
func NewTransformIterator[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], transformer func(TValue) (TValue, error)) compounditerators.ReadForIndexIterator[TKey, TValue]
func NewTransformUnsafeIterator ¶
func NewTransformUnsafeIterator[TKey any, TValue any](inner compounditerators.ReadForIndexIterator[TKey, TValue], transformer func(TValue) TValue) compounditerators.ReadForIndexIterator[TKey, TValue]
Types ¶
type DropN ¶
type DropN[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type DropWhile ¶
type DropWhile[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type ReplaceIf ¶
type ReplaceIf[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type Strided ¶
type Strided[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type TakeIf ¶
type TakeIf[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type TakeN ¶
type TakeN[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type TakeWhile ¶
type TakeWhile[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type Transform ¶
type Transform[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
type TransformUnsafe ¶
type TransformUnsafe[TKey any, TValue any] struct { compounditerators.ReadForIndexIterator[TKey, TValue] // contains filtered or unexported fields }
func (*TransformUnsafe[TKey, TValue]) Get ¶
func (it *TransformUnsafe[TKey, TValue]) Get() (value TValue, found bool)
func (*TransformUnsafe[TKey, TValue]) Index ¶
func (it *TransformUnsafe[TKey, TValue]) Index() (int, bool)
func (*TransformUnsafe[TKey, TValue]) IsBegin ¶
func (it *TransformUnsafe[TKey, TValue]) IsBegin() bool
func (*TransformUnsafe[TKey, TValue]) IsEnd ¶
func (it *TransformUnsafe[TKey, TValue]) IsEnd() bool
func (*TransformUnsafe[TKey, TValue]) IsFirst ¶
func (it *TransformUnsafe[TKey, TValue]) IsFirst() bool
func (*TransformUnsafe[TKey, TValue]) IsLast ¶
func (it *TransformUnsafe[TKey, TValue]) IsLast() bool
func (*TransformUnsafe[TKey, TValue]) IsValid ¶
func (it *TransformUnsafe[TKey, TValue]) IsValid() bool
func (*TransformUnsafe[TKey, TValue]) Next ¶
func (it *TransformUnsafe[TKey, TValue]) Next() bool
func (*TransformUnsafe[TKey, TValue]) NextN ¶
func (it *TransformUnsafe[TKey, TValue]) NextN(n int) bool
func (*TransformUnsafe[TKey, TValue]) Size ¶
func (it *TransformUnsafe[TKey, TValue]) Size() int
Click to show internal directories.
Click to hide internal directories.