A
- the Iterable
element typepublic final class Occurrences<A> extends Object implements Fn1<Iterable<A>,Map<A,Long>>
Modifier and Type | Method and Description |
---|---|
Map<A,Long> |
checkedApply(Iterable<A> as)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static <A> Occurrences<A> |
occurrences() |
static <A> Map<A,Long> |
occurrences(Iterable<A> as) |
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