Package com.jidesoft.utils
Class BooleanUtils
- java.lang.Object
-
- com.jidesoft.utils.BooleanUtils
-
public class BooleanUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BooleanUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
max(java.util.List<java.lang.Boolean> booleans)
Returns the max boolean in the booleans list.static boolean
min(java.util.List<java.lang.Boolean> booleans)
Returns the min boolean in the booleans list.static Range<java.lang.Boolean>
range(java.util.List<java.lang.Boolean> booleans)
Returns the range of booleans.
-
-
-
Method Detail
-
min
public static boolean min(java.util.List<java.lang.Boolean> booleans)
Returns the min boolean in the booleans list.- Parameters:
booleans
- the booleans to calculate the min.- Returns:
- the min boolean in the booleans list.
-
max
public static boolean max(java.util.List<java.lang.Boolean> booleans)
Returns the max boolean in the booleans list.- Parameters:
booleans
- the booleans to calculate the max.- Returns:
- the max boolean in the booleans list.
-
range
public static Range<java.lang.Boolean> range(java.util.List<java.lang.Boolean> booleans)
Returns the range of booleans.- Parameters:
booleans
- the booleans to calculate the range.- Returns:
- the range of the booleans.
-
-