public final class GuavaHelpers
extends java.lang.Object
Predicate
instances to Guava predicates
and Querydsl Expression
instances to Guava functionsModifier and Type | Method and Description |
---|---|
static <F,T> com.google.common.base.Function<F,T> |
wrap(Expression<T> projection)
Wrap a Querydsl expression into a Guava function
|
static <T> com.google.common.base.Predicate<T> |
wrap(Predicate predicate)
Wrap a Querydsl predicate into a Guava predicate
|
public static <T> com.google.common.base.Predicate<T> wrap(Predicate predicate)
predicate
- public static <F,T> com.google.common.base.Function<F,T> wrap(Expression<T> projection)
projection
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.