Package com.github.eikecochu.sqlbuilder
Class ConditionBiValue<T extends Conditionable<T>>
- java.lang.Object
-
- com.github.eikecochu.sqlbuilder.ConditionBiValue<T>
-
- Type Parameters:
T- The type of the conditionable
public class ConditionBiValue<T extends Conditionable<T>> extends java.lang.ObjectThe ConditionBiValue is used for the BETWEEN operator, to restrict values to two.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConditionBiValue(ConditionPart<T> part, CompareOperator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tvalues(java.lang.Object value1, java.lang.Object value2)Set two values to be used as conditions
-
-
-
Constructor Detail
-
ConditionBiValue
protected ConditionBiValue(ConditionPart<T> part, CompareOperator operator)
-
-
Method Detail
-
values
public T values(java.lang.Object value1, java.lang.Object value2)
Set two values to be used as conditions- Parameters:
value1- The first valuevalue2- The second value- Returns:
- This instance
-
-