Package io.netty.util

Interface UncheckedBooleanSupplier

  • All Superinterfaces:
    BooleanSupplier

    public interface UncheckedBooleanSupplier
    extends BooleanSupplier
    Represents a supplier of boolean-valued results which doesn't throw any checked exceptions.
    • Field Detail

      • FALSE_SUPPLIER

        static final UncheckedBooleanSupplier FALSE_SUPPLIER
        A supplier which always returns false and never throws.
      • TRUE_SUPPLIER

        static final UncheckedBooleanSupplier TRUE_SUPPLIER
        A supplier which always returns true and never throws.
    • Method Detail

      • get

        boolean get()
        Gets a boolean value.
        Specified by:
        get in interface BooleanSupplier
        Returns:
        a boolean value.