Back to project page NexusData.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project NexusData listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.dkharrat.nexusdata.predicate; //from w ww . ja va 2 s .com public class ExpressionBuilder { private final Expression curExpression; ExpressionBuilder(Expression curExp) { curExpression = curExp; } public Expression getExpression() { return curExpression; } public static <T> PredicateBuilder constant(T value) { return new PredicateBuilder(new ConstantExpression<T>(value)); } public static PredicateBuilder field(String fieldPath) { return new PredicateBuilder(new FieldPathExpression(fieldPath)); } public static PredicateBuilder self() { return new PredicateBuilder(new ThisExpression()); } }