Package io.netty.util
Interface UncheckedBooleanSupplier
-
- All Superinterfaces:
BooleanSupplier
public interface UncheckedBooleanSupplier extends BooleanSupplier
Represents a supplier ofboolean
-valued results which doesn't throw any checked exceptions.
-
-
Field Summary
Fields Modifier and Type Field Description static UncheckedBooleanSupplier
FALSE_SUPPLIER
A supplier which always returnsfalse
and never throws.static UncheckedBooleanSupplier
TRUE_SUPPLIER
A supplier which always returnstrue
and never throws.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
get()
Gets a boolean value.
-
-
-
Field Detail
-
FALSE_SUPPLIER
static final UncheckedBooleanSupplier FALSE_SUPPLIER
A supplier which always returnsfalse
and never throws.
-
TRUE_SUPPLIER
static final UncheckedBooleanSupplier TRUE_SUPPLIER
A supplier which always returnstrue
and never throws.
-
-
Method Detail
-
get
boolean get()
Gets a boolean value.- Specified by:
get
in interfaceBooleanSupplier
- Returns:
- a boolean value.
-
-