Package io.netty.util

Interface BooleanSupplier

  • All Known Subinterfaces:
    UncheckedBooleanSupplier

    public interface BooleanSupplier
    Represents a supplier of boolean-valued results.
    • Field Detail

      • FALSE_SUPPLIER

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

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

      • get

        boolean get()
             throws java.lang.Exception
        Gets a boolean value.
        Returns:
        a boolean value.
        Throws:
        java.lang.Exception - If an exception occurs.