Package io.netty.util
Interface UncheckedBooleanSupplier
- All Superinterfaces:
BooleanSupplier
Represents a supplier of
boolean
-valued results which doesn't throw any checked exceptions.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UncheckedBooleanSupplier
A supplier which always returnsfalse
and never throws.static final UncheckedBooleanSupplier
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
boolean get()Gets a boolean value.- Specified by:
get
in interfaceBooleanSupplier
- Returns:
- a boolean value.
-