A
- the iterable element typepublic final class Empty<A> extends Object implements Predicate<Iterable<A>>
as
is empty; false otherwise.Modifier and Type | Method and Description |
---|---|
Boolean |
checkedApply(Iterable<A> as)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static <A> Empty<A> |
empty() |
static <A> Boolean |
empty(Iterable<A> as) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, compose, contraMap, diMapL, discardR, fromPredicate, negate, or, predicate, toPredicate, widen
public Boolean checkedApply(Iterable<A> as)
Fn1
Throwable
.checkedApply
in interface Fn1<Iterable<A>,Boolean>
as
- the argumentpublic static <A> Empty<A> empty()