Package io.netty.util
Interface BooleanSupplier
- All Known Subinterfaces:
UncheckedBooleanSupplier
public interface BooleanSupplier
Represents a supplier of
boolean
-valued results.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanSupplier
A supplier which always returnsfalse
and never throws.static final BooleanSupplier
A supplier which always returnstrue
and never throws. -
Method Summary
-
Field Details
-
FALSE_SUPPLIER
A supplier which always returnsfalse
and never throws. -
TRUE_SUPPLIER
A supplier which always returnstrue
and never throws.
-
-
Method Details
-
get
Gets a boolean value.- Returns:
- a boolean value.
- Throws:
Exception
- If an exception occurs.
-