IterableMaxExt<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
max(
) → E -
Available on Iterable<
获取最大值E> , provided by the IterableMaxExt extension -
maxBy(
dynamic selector(E element)) → E -
Available on Iterable<
根据E> , provided by the IterableMaxExt extensionselector得到的值进行比对,获得最大值。(为null会抛出异常) -
maxByOrNull(
dynamic selector(E element)) → E? -
Available on Iterable<
根据E> , provided by the IterableMaxExt extensionselector得到的值进行比对,获得最大值。(返回值可为null) -
maxOrNull(
) → E? -
Available on Iterable<
获取最大值E> , provided by the IterableMaxExt extension