Skip to content

Add max() and min() #21

@brunovinicius

Description

@brunovinicius

Add function to get max() and min() values of a collection

<TKey> T max(Selector<T, TKey> selector, Comparator<TKey> comparator);
<TKey extends Comparable<TKey> T max(Selector<T, TKey> selector);

<TKey> T min(Selector<T, TKey> selector, Comparator<TKey> comparator);
<TKey extends Comparable<TKey> T min(Selector<T, TKey> selector);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions