|
@@ -38,6 +38,8 @@ public interface Nested<This> extends Serializable {
|
|
|
|
|
|
/**
|
|
|
* AND 嵌套
|
|
|
+ *
|
|
|
+ * @param func 函数 ---> 例: i -> i.eq("name", "李白").ne("state", "活着")
|
|
|
*/
|
|
|
This and(boolean condition, Function<This, This> func);
|
|
|
|
|
@@ -50,6 +52,8 @@ public interface Nested<This> extends Serializable {
|
|
|
|
|
|
/**
|
|
|
* OR 嵌套
|
|
|
+ *
|
|
|
+ * @param func 函数 ---> 例: i -> i.eq("name", "李白").ne("state", "活着")
|
|
|
*/
|
|
|
This or(boolean condition, Function<This, This> func);
|
|
|
|
|
@@ -62,6 +66,8 @@ public interface Nested<This> extends Serializable {
|
|
|
|
|
|
/**
|
|
|
* 正常嵌套 不带 AND 或者 OR
|
|
|
+ *
|
|
|
+ * @param func 函数 ---> 例: i -> i.eq("name", "李白").ne("state", "活着")
|
|
|
*/
|
|
|
This nested(boolean condition, Function<This, This> func);
|
|
|
}
|