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 Summary

    Fields
    Modifier and Type
    Field
    Description
    A supplier which always returns false and never throws.
    A supplier which always returns true and never throws.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    get()
    Gets a boolean value.
  • Field Details

    • 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 Details

    • get

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