Versions in this module Expand all Collapse all v0 v0.2.0 Mar 7, 2024 Changes in this version + type MapStream struct + func AsMapStream[K comparable, V any, M ~map[K]V](m M) *MapStream[K, V] + func ToMapStream[K comparable, T, V any](s *SliceStream[T], fc func(T) (K, V)) *MapStream[K, V] + func ToOtherMapStream[K1, K2 comparable, V1, V2 any](m *MapStream[K1, V1], fc func(K1, V1) (K2, V2)) *MapStream[K2, V2] + func (m *MapStream[K, V]) Collect() map[K]V + func (m *MapStream[K, V]) Convert(fc func(K, V) (K, V)) *MapStream[K, V] + func (m *MapStream[K, V]) Filter(fc func(K, V) bool) *MapStream[K, V] + func (m *MapStream[K, V]) ForEach(fc func(K, V)) *MapStream[K, V] + func (m *MapStream[K, V]) Limit(n int) *MapStream[K, V] + type SliceStream struct + func AsSliceStream[T any](s []T) *SliceStream[T] + func ToOtherSliceStream[T1, T2 any](s *SliceStream[T1], fc func(T1) T2) *SliceStream[T2] + func ToSliceStream[K comparable, T, V any](m *MapStream[K, V], fc func(K, V) T) *SliceStream[T] + func (s *SliceStream[T]) Collect() []T + func (s *SliceStream[T]) Convert(fc func(T) T) *SliceStream[T] + func (s *SliceStream[T]) Count() int + func (s *SliceStream[T]) Filter(fc func(T) bool) *SliceStream[T] + func (s *SliceStream[T]) ForEach(fc func(T)) *SliceStream[T] + func (s *SliceStream[T]) Map(fc func(T) T) *SliceStream[T] + func (s *SliceStream[T]) Sort(less func(t1, t2 T) bool) *SliceStream[T]