Class Occurrences<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn1.Occurrences<A>
- Type Parameters:
A- theIterableelement type
- All Implemented Interfaces:
Fn1<Iterable<A>, Map<A,Long>>, Applicative<Map<A, Long>, Fn1<Iterable<A>, ?>>, Cartesian<Iterable<A>, Map<A, Long>, Fn1<?, ?>>, Cocartesian<Iterable<A>, Map<A, Long>, Fn1<?, ?>>, Contravariant<Iterable<A>, Profunctor<?, Map<A, Long>, Fn1<?, ?>>>, Functor<Map<A, Long>, Fn1<Iterable<A>, ?>>, Profunctor<Iterable<A>, Map<A, Long>, Fn1<?, ?>>, Monad<Map<A, Long>, Fn1<Iterable<A>, ?>>, MonadReader<Iterable<A>, Map<A, Long>, Fn1<Iterable<A>, ?>>, MonadRec<Map<A, Long>, Fn1<Iterable<A>, ?>>, MonadWriter<Iterable<A>, Map<A, Long>, Fn1<Iterable<A>, ?>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckedApply(Iterable<A> as) Invoke this function with the given argument, potentially throwing anyThrowable.static <A> Occurrences<A> occurrences(Iterable<A> as) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Occurrences
private Occurrences()
-
-
Method Details
-
checkedApply
-
occurrences
-
occurrences
-