PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/tests/src/test/java/org/sigmah/endtoend/xpath/RelationalExprBuilder.java

http://sigma-h.googlecode.com/
Java | 18 lines | 9 code | 5 blank | 4 comment | 0 complexity | 5b01bed7d8dbc3be98873e4c7a049a54 MD5 | raw file
 1/*
 2 * All Sigmah code is released under the GNU General Public License v3
 3 * See COPYRIGHT.txt and LICENSE.txt.
 4 */
 5
 6package org.sigmah.endtoend.xpath;
 7
 8public class RelationalExprBuilder<T extends Number> extends EqualityExprBuilder<T> {
 9
10    public RelationalExprBuilder(String leftHandSide) {
11        expr.append(leftHandSide);
12    }
13
14    public Predicate greaterThan(T rightHandSide) {
15        return compose(">", rightHandSide);
16    }
17
18}