Documentation
¶
Index ¶
- type Stream
- func (s *Stream[T]) AllMatch(predicate func(T) bool) bool
- func (s *Stream[T]) AnyMatch(predicate func(T) bool) bool
- func (s *Stream[T]) Collect() []T
- func (s *Stream[T]) Count() int
- func (s *Stream[T]) Distinct() *Stream[T]
- func (s *Stream[T]) Filter(predicate func(T) bool) *Stream[T]
- func (s *Stream[T]) ForEach(consumer func(T))
- func (s *Stream[T]) Limit(n int) *Stream[T]
- func (s *Stream[T]) Map(mapper func(T) T) *Stream[T]
- func (s *Stream[T]) Skip(n int) *Stream[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.