1 package uk.co.jezuk.mango; 2 3 9 public class Predicates 10 { 11 16 static public Predicate True() { return new uk.co.jezuk.mango.unarypredicates.True(); } 17 20 static public Predicate False() { return new uk.co.jezuk.mango.unarypredicates.False(); } 21 26 static public Predicate Not(Predicate pred) { return new uk.co.jezuk.mango.unarypredicates.Not(pred); } 27 32 static public Predicate And(Predicate pred1, Predicate pred2) { return new uk.co.jezuk.mango.unarypredicates.And(pred1, pred2); } 33 38 static public Predicate Or(Predicate pred1, Predicate pred2) { return new uk.co.jezuk.mango.unarypredicates.Or(pred1, pred2); } 39 40 46 static public BinaryPredicate EqualTo() { return new uk.co.jezuk.mango.binarypredicates.EqualTo(); } 47 51 static public BinaryPredicate GreaterThan() { return new uk.co.jezuk.mango.binarypredicates.GreaterThan(); } 52 56 static public BinaryPredicate GreaterThanEquals() { return new uk.co.jezuk.mango.binarypredicates.GreaterThanEquals(); } 57 61 static public BinaryPredicate LessThan() { return new uk.co.jezuk.mango.binarypredicates.LessThan(); } 62 66 static public BinaryPredicate LessThanEquals() { return new uk.co.jezuk.mango.binarypredicates.LessThanEquals(); } 67 70 static public BinaryPredicate NotEqualTo() { return new uk.co.jezuk.mango.binarypredicates.NotEqualTo(); } 71 76 static public BinaryPredicate Not(BinaryPredicate pred) { return new uk.co.jezuk.mango.binarypredicates.Not(pred); } 77 82 static public BinaryPredicate And(BinaryPredicate pred1, BinaryPredicate pred2) { return new uk.co.jezuk.mango.binarypredicates.And(pred1, pred2); } 83 88 static public BinaryPredicate Or(BinaryPredicate pred1, BinaryPredicate pred2) { return new uk.co.jezuk.mango.binarypredicates.Or(pred1, pred2); } 89 90 private Predicates() { } 92 } 94 95 | Popular Tags |