feat: added get result after a boolean calculation in BranchUtil
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user