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 UncheckedBooleanSupplierFALSE_SUPPLIERA supplier which always returnsfalseand never throws.static UncheckedBooleanSupplierTRUE_SUPPLIERA supplier which always returnstrueand never throws.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanget()Gets a boolean value.
-
-
-
Field Detail
-
FALSE_SUPPLIER
static final UncheckedBooleanSupplier FALSE_SUPPLIER
A supplier which always returnsfalseand never throws.
-
TRUE_SUPPLIER
static final UncheckedBooleanSupplier TRUE_SUPPLIER
A supplier which always returnstrueand never throws.
-
-
Method Detail
-
get
boolean get()
Gets a boolean value.- Specified by:
getin interfaceBooleanSupplier- Returns:
- a boolean value.
-
-