public final class Size extends Object implements Fn1<Iterable<?>,Long>
Modifier and Type | Method and Description |
---|---|
Long |
checkedApply(Iterable<?> iterable)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static Size |
size() |
static Long |
size(Iterable<?> iterable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, apply, carry, cartesian, censor, choose, cocartesian, compose, contraMap, diMap, diMapL, diMapR, discardL, discardR, flatMap, fmap, fn1, fromFunction, lazyZip, listens, local, pure, pureFn1, thunk, toFunction, trampolineM, widen, zip, zip
public Long checkedApply(Iterable<?> iterable)
Fn1
Throwable
.checkedApply
in interface Fn1<Iterable<?>,Long>
iterable
- the argumentpublic static Size size()