Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / HighestOf

HighestOf

class HighestOf<T : Comparable<T>> : Scalar<T>

Find the highest item.

There is no thread-safety guarantee.

Parameters

T - Scalar type

Since 0.4

Constructors

Name Summary
<init> HighestOf(iterable: Iterable<KScalar<T>>)
HighestOf(vararg items: T)
HighestOf(vararg scalars: KScalar<T>)

Functions

Name Summary
invoke fun invoke(): T
Get value of this Scalar