package
0.3.6
Repository: https://github.com/hopeio/utils.git
Documentation: pkg.go.dev

# Functions

AllMatch test if every element are all match the Predicate.
AnyMatch test if any element matches the Predicate.
Return the element at index.
Returns the average of all the elements in the iterator.
No description provided by the author
No description provided by the author
No description provided by the author
Collecting via Collector.
Returns true if the target is included in the iterator.
Count return the count of elements in the Seq.
Distinct remove duplicate elements.
No description provided by the author
No description provided by the author
Filter keep elements which satisfy the Predicate.
First find the first element in the Seq.
FlatMap transform each element in Seq[T] to a new Seq[R].
Fold accumulate each element using the BinaryFunction starting from the initial value.
ForEach consume every elements in the Seq.
No description provided by the author
Ruturns true if the count of Iterator is 0.
Ruturns true if the count of Iterator is 0.
IsSorted 对序列中的元素是否排序.
No description provided by the author
No description provided by the author
Return the right element.
Limit limits the number of elements in Seq.
Map transform the element use Fuction.
Return the maximum value of all elements of the iterator.
Return the maximum value of all elements of the iterator.
Calculate the Mean of a slice of floats.
No description provided by the author
Return the minimum value of all elements of the iterator.
No description provided by the author
No description provided by the author
Peek visit every element in the Seq and leave them on the Seq.
Returns the product of all the elements in the iterator.
No description provided by the author
No description provided by the author
Reduce accumulate each element using the binary operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Skip drop some elements of the Seq.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sorted sort elements in the Seq by Comparator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns the sum of all the elements in the iterator.
No description provided by the author
Returns the sum of all the elements in the iterator.
to built-in map.
No description provided by the author
No description provided by the author
No description provided by the author
Splitting an iterator whose elements are pair into two lists.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author