feat: added get result after a boolean calculation in BranchUtil

This commit is contained in:
zihluwang
2024-08-22 11:48:02 +08:00
parent 2b10eed1d9
commit 53d24eab65
@@ -68,7 +68,7 @@ import java.util.function.Supplier;
*
* @param <T> the type of the result to be handled by the methods
* @author zihluwang
* @version 1.1.0
* @version 1.6.1
* @see java.util.function.Supplier
* @see java.util.function.BooleanSupplier
* @see java.lang.Runnable
@@ -225,4 +225,13 @@ public final class BranchUtil<T> {
*/
private final boolean result;
/**
* Get the boolean result.
*
* @return the result
*/
public boolean getResult() {
return result;
}
}