Documentation ¶
Index ¶
- func Filter(length int, f func(i int) bool, do func(i int), fs ...filterOptionsFunc)
- func FiltersD(length int, fs []func(int) bool, do func(int, int), shouldReturn bool)
- func FiltersF(length int, fs []func(i int) bool, do func(i, j int), shouldReturn bool)
- func Have(length int, f func(i int) bool) bool
- func Iterator(lenght, limit int, do func(int, int) error) error
- func Loop(offset, limit int, do func(int, int) (int, error)) error
- func SearchIndex(length int, isFound func(int) bool) int
- func SearchIndexFound(result int) bool
- func SearchIndexNoFound(result int) bool
- func ToFuncIs(length int, do func(int) func(int) bool) []func(i int) bool
- type Int64Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchIndexFound ¶
func SearchIndexNoFound ¶
Types ¶
type Int64Iterator ¶
type Int64Iterator struct {
// contains filtered or unexported fields
}
func NewInt64Iterator ¶
func NewInt64Iterator(src []int64, limit int) *Int64Iterator
func (*Int64Iterator) HasNext ¶
func (i *Int64Iterator) HasNext() bool
func (*Int64Iterator) Next ¶
func (i *Int64Iterator) Next() []int64
Source Files ¶
Click to show internal directories.
Click to hide internal directories.