Top Description Fields Methods
io.netty.util

public Interface BooleanSupplier

Known Direct Subinterfaces
io.netty.util.UncheckedBooleanSupplier

Represents a supplier of boolean-valued results.

Field Summary

Modifier and TypeField and Description
public static final BooleanSupplier
FALSE_SUPPLIER

A supplier which always returns false and never throws.

public static final BooleanSupplier
TRUE_SUPPLIER

A supplier which always returns true and never throws.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

a boolean value.
get
()

Gets a boolean value.

Field Detail

FALSE_SUPPLIERback to summary
public static final BooleanSupplier FALSE_SUPPLIER

A supplier which always returns false and never throws.

TRUE_SUPPLIERback to summary
public static final BooleanSupplier TRUE_SUPPLIER

A supplier which always returns true and never throws.

Method Detail

getback to summary
public boolean get() throws Exception

Gets a boolean value.

Returns:boolean

a boolean value.

Exceptions
Exception:
If an exception occurs.