| Constructor and Description |
|---|
MinMaxIterable(Iterable<T> src,
Comparator<T> cmp,
boolean findMax)
Конструктор мин/макс итератора
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MinMaxIterable(Iterable<T> src, Comparator<T> cmp, boolean findMax)
src - Исходное множествоcmp - Интерфес сравненияfindMax - true - возвращать максимльные / false - возвращать минимальные объектыCopyright © 2017. All rights reserved.