org.fusesource.hawtdb.api
Class Predicates
java.lang.Object
org.fusesource.hawtdb.api.Predicates
public final class Predicates
- extends java.lang.Object
Implements commonly used Predicates like AND, OR, <, > etc. etc.
- Author:
- Hiram Chirino
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Predicates
public Predicates()
none
public static <Key> Predicate<Key> none()
all
public static <Key> Predicate<Key> all()
or
public static <Key> Predicate<Key> or(Predicate<Key>... conditions)
or
public static <Key> Predicate<Key> or(java.util.List<Predicate<Key>> conditions)
and
public static <Key> Predicate<Key> and(Predicate<Key>... conditions)
and
public static <Key> Predicate<Key> and(java.util.List<Predicate<Key>> conditions)
gt
public static <Key> Predicate<Key> gt(Key key)
gte
public static <Key> Predicate<Key> gte(Key key)
lt
public static <Key> Predicate<Key> lt(Key key)
lte
public static <Key> Predicate<Key> lte(Key key)
lte
public static <Key> Predicate<Key> lte(Key first,
Key last)
visitor
public static <Key,Value> IndexVisitor<Key,Value> visitor(Predicate<Key> predicate)
Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.