Package | Description |
---|---|
net.hydromatic.lambda.functions |
Provides a similar API to the
java.util.functions package
that is part of OpenJDK 8. |
net.hydromatic.lambda.streams |
Provides a similar API to the
java.util.streams package
that is part of JDK 8. |
Modifier and Type | Class and Description |
---|---|
static class |
Predicates.AbstractPredicate<T> |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicates.alwaysFalse() |
static <T> Predicate<T> |
Predicates.alwaysTrue() |
static <T> Predicate<T> |
Predicates.and(Iterable<? extends Predicate<? super T>> predicates) |
Predicate<T> |
Predicate.and(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.and(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Predicate<? super T> second) |
static <T,V> Predicate<T> |
Predicates.compose(Predicate<? super V> predicate,
Mapper<? super T,? extends V> mapper) |
static <T> Predicate<T> |
Predicates.contains(Collection<?> target) |
static <T> Predicate<T> |
Predicates.instanceOf(Class<?> clazz) |
static <T> Predicate<T> |
Predicates.isEqual(Object target) |
static <T> Predicate<T> |
Predicates.isNull() |
static <T> Predicate<T> |
Predicates.isSame(Object target) |
Predicate<T> |
Predicate.negate() |
Predicate<T> |
Predicates.AbstractPredicate.negate() |
static <T> Predicate<T> |
Predicates.negate(Predicate<? super T> predicate) |
static <T> Predicate<T> |
Predicates.nonNull() |
static <T> Predicate<T> |
Predicates.or(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.or(Predicate<? super T>... predicates) |
Predicate<T> |
Predicate.or(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.or(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.or(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
Predicates.xor(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.xor(Predicate<? super T>... predicates) |
Predicate<T> |
Predicate.xor(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.xor(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.xor(Predicate<? super T> first,
Predicate<? super T> second) |
Modifier and Type | Method and Description |
---|---|
Predicate<T> |
Predicate.and(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.and(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Predicate<? super T> second) |
static <T,V> Predicate<T> |
Predicates.compose(Predicate<? super V> predicate,
Mapper<? super T,? extends V> mapper) |
static <T,U> Mapper<T,U> |
Mappers.forPredicate(Predicate<? super T> predicate,
U forTrue,
U forFalse) |
static <T> Predicate<T> |
Predicates.negate(Predicate<? super T> predicate) |
static <T> Predicate<T> |
Predicates.or(Predicate<? super T>... predicates) |
Predicate<T> |
Predicate.or(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.or(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.or(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
Predicates.or(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
Predicates.xor(Predicate<? super T>... predicates) |
Predicate<T> |
Predicate.xor(Predicate<? super T> p) |
Predicate<T> |
Predicates.AbstractPredicate.xor(Predicate<? super T> p) |
static <T> Predicate<T> |
Predicates.xor(Predicate<? super T> first,
Predicate<? super T> second) |
static <T> Predicate<T> |
Predicates.xor(Predicate<? super T> first,
Predicate<? super T> second) |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicates.and(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.and(Predicate<? super T> first,
Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.or(Iterable<? extends Predicate<? super T>> predicates) |
static <T> Predicate<T> |
Predicates.xor(Iterable<? extends Predicate<? super T>> predicates) |
Modifier and Type | Method and Description |
---|---|
boolean |
SequentialStreamOps.allMatch(Predicate<? super T> predicate) |
boolean |
SequentialStreamOps.anyMatch(Predicate<? super T> predicate) |
Stream<T> |
SequentialStreamOps.filter(Predicate<? super T> predicate) |
static <K,V> MapStream<K,V> |
MapStream.Impl.filterKeys(MapStream<K,V> s,
Predicate<K> filter) |
MapStream<K,V> |
MapStream.filterKeys(Predicate<K> filter) |
MapStream<K,V> |
MapStream.AbstractMapStream.filterKeys(Predicate<K> filter) |
static <K,V> MapStream<K,V> |
MapStream.Impl.filterValues(MapStream<K,V> s,
Predicate<V> filter) |
MapStream<K,V> |
MapStream.filterValues(Predicate<V> filter) |
MapStream<K,V> |
MapStream.AbstractMapStream.filterValues(Predicate<V> filter) |
boolean |
SequentialStreamOps.noneMatch(Predicate<? super T> predicate) |
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.