/** * Perform two bit operations on the given field * * @param field The field to perform the operations on * @param operation1 The first operation to perform * @param value1 The first value * @param operation2 The second operation to perform * @param value2 The second value * @return this object */ public static Builder bit(String field, String operation1, int value1, String operation2, int value2) { return new Builder().bit(field, operation1, value1, operation2, value2); }
/** * Perform two bit operations on the given field * * @param field The field to perform the operations on * @param operation1 The first operation to perform * @param value1 The first value * @param operation2 The second operation to perform * @param value2 The second value * @return this object */ public static Builder bit(String field, String operation1, int value1, String operation2, int value2) { return new Builder().bit(field, operation1, value1, operation2, value2); }
/** * Perform a bitwise or on the given field * * @param field The field to perform the or on * @param value The value * @return this object */ public Builder bitwiseOr(String field, int value) { return bit(field, "or", value); }
/** * Perform a bit operation on the given field * * @param field The field to perform the operation on * @param operation The operation to perform * @param value The value * @return this object */ public static Builder bit(String field, String operation, int value) { return new Builder().bit(field, operation, value); }
/** * Perform a bitwise or on the given field * * @param field The field to perform the or on * @param value The value * @return this object */ public Builder bitwiseOr(String field, int value) { return bit(field, "or", value); }
/** * Perform a bitwise and on the given field * * @param field The field to perform the and on * @param value The value * @return this object */ public Builder bitwiseAnd(String field, int value) { return bit(field, "and", value); }
/** * Perform a bit operation on the given field * * @param field The field to perform the operation on * @param operation The operation to perform * @param value The value * @return this object */ public static Builder bit(String field, String operation, int value) { return new Builder().bit(field, operation, value); }
/** * Perform a bitwise and on the given field * * @param field The field to perform the and on * @param value The value * @return this object */ public Builder bitwiseAnd(String field, int value) { return bit(field, "and", value); }