Documentation
¶
Index ¶
- func Advancing[T any](iter iterator.Iterator[T], n uint) iterator.Iterator[T]
- func All[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) bool
- func Any[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) bool
- func Chain[T any, I iterator.Iterator[T], IA iterator.Iterable[T]](iter I, iterable IA) iterator.Iterator[T]
- func Chunk[T any](iter iterator.Iterator[T], n uint) iterator.Iterator[[]T]
- func Clone[T clone.Cloneable[T]](iter iterator.Iterator[T]) iterator.Iterator[T]
- func CloneBy[T any](iter iterator.Iterator[T], ...) iterator.Iterator[T]
- func CmpBy[T any](iter iterator.Iterator[T], iterable iterator.Iterable[T], ord delegate.Ord[T]) bool
- func Collect[T any](iter iterator.Iterator[T]) []T
- func Contains[T comparable](iter iterator.Iterator[T], target T) bool
- func ContainsBy[T any](iter iterator.Iterator[T], target T, eq delegate.Equal[T]) bool
- func EqualBy[T any, I iterator.Iterator[T], IA iterator.Iterable[T], F delegate.Equal[T]](iter I, iterable IA, eq F) bool
- func Filter[T any](iter iterator.Iterator[T], filter delegate.Predicate[T]) iterator.Iterator[T]
- func Flatten[T any](iter iterator.Iterator[T], flatten delegate.Transform[T, iterator.Iterator[T]]) iterator.Iterator[T]
- func Fold[T, B any](iter iterator.Iterator[T], init B, accum delegate.Function2[T, B, B]) B
- func ForEach[T any](iter iterator.Iterator[T], consumer delegate.Consumer1[T])
- func ForEachUntil[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T])
- func Inspect[T any](iter iterator.Iterator[T], inspect delegate.Consumer1[T]) iterator.Iterator[T]
- func InspectUntil[T any](iter iterator.Iterator[T], inspect delegate.Predicate[T]) iterator.Iterator[T]
- func IsSorted[T any](iter iterator.Iterator[T], ord delegate.Ord[T]) bool
- func Last[T any](iter iterator.Iterator[T]) optional.Optional[T]
- func Map[T, U any](iter iterator.Iterator[T], transformer delegate.Transform[T, U]) iterator.Iterator[U]
- func MapFilter[T, U any](iter iterator.Iterator[T], mapFilter func(T) optional.Optional[U]) iterator.Iterator[U]
- func Max[T Numbric](iter iterator.Iterator[T]) optional.Optional[T]
- func MaxBy[T any](iter iterator.Iterator[T], ord delegate.Ord[T]) optional.Optional[T]
- func Min[T Numbric](iter iterator.Iterator[T]) optional.Optional[T]
- func MinBy[T any](iter iterator.Iterator[T], ord delegate.Ord[T]) optional.Optional[T]
- func None[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) bool
- func Nth[T any](iter iterator.Iterator[T], n uint) optional.Optional[T]
- func Once[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) bool
- func Product[T Numbric](iter iterator.Iterator[T]) optional.Optional[T]
- func ProductBy[T any](iter iterator.Iterator[T], product delegate.Function2[T, T, T]) optional.Optional[T]
- func Reduce[T any](iter iterator.Iterator[T], reduce delegate.Function2[T, T, T]) optional.Optional[T]
- func Skip[T any](iter iterator.Iterator[T], n uint) iterator.Iterator[T]
- func SkipWhile[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) iterator.Iterator[T]
- func StepBy[T any](iter iterator.Iterator[T], n uint) iterator.Iterator[T]
- func Sum[T Numbric](iter iterator.Iterator[T]) optional.Optional[T]
- func SumBy[T any](iter iterator.Iterator[T], sum delegate.Function2[T, T, T]) optional.Optional[T]
- func Take[T any](iter iterator.Iterator[T], n uint) iterator.Iterator[T]
- func TakeWhile[T any](iter iterator.Iterator[T], predicate delegate.Predicate[T]) iterator.Iterator[T]
- type Numbric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsBy ¶
func ForEachUntil ¶
func InspectUntil ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.