Package io.netty.util
Interface BooleanSupplier
-
- All Known Subinterfaces:
UncheckedBooleanSupplier
public interface BooleanSupplier
Represents a supplier ofboolean
-valued results.
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanSupplier
FALSE_SUPPLIER
A supplier which always returnsfalse
and never throws.static BooleanSupplier
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 BooleanSupplier FALSE_SUPPLIER
A supplier which always returnsfalse
and never throws.
-
TRUE_SUPPLIER
static final BooleanSupplier TRUE_SUPPLIER
A supplier which always returnstrue
and never throws.
-
-