public final class Predicates extends Object
Constructor and Description |
---|
Predicates() |
Modifier and Type | Method and Description |
---|---|
static <Key> Predicate<Key> |
all() |
static <Key> Predicate<Key> |
and(List<Predicate<Key>> conditions) |
static <Key> Predicate<Key> |
and(Predicate<Key>... conditions) |
static <Key> Predicate<Key> |
gt(Key key) |
static <Key> Predicate<Key> |
gte(Key key) |
static <Key> Predicate<Key> |
lt(Key key) |
static <Key> Predicate<Key> |
lte(Key key) |
static <Key> Predicate<Key> |
lte(Key first,
Key last) |
static <Key> Predicate<Key> |
none() |
static <Key> Predicate<Key> |
or(List<Predicate<Key>> conditions) |
static <Key> Predicate<Key> |
or(Predicate<Key>... conditions) |
static <Key,Value> |
visitor(Predicate<Key> predicate) |
public static <Key> Predicate<Key> none()
public static <Key> Predicate<Key> all()
public static <Key> Predicate<Key> gt(Key key)
public static <Key> Predicate<Key> gte(Key key)
public static <Key> Predicate<Key> lt(Key key)
public static <Key> Predicate<Key> lte(Key key)
public static <Key> Predicate<Key> lte(Key first, Key last)
public static <Key,Value> IndexVisitor<Key,Value> visitor(Predicate<Key> predicate)
Copyright © 2009–2016 FuseSource, Corp.. All rights reserved.