Interface BooleanSupplier

All Superinterfaces:
BooleanSupplier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BooleanSupplier extends BooleanSupplier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BooleanSupplier
    Deprecated.
    prefer simple inlined lambda for clarity
    static final BooleanSupplier
    Deprecated.
    prefer simple inlined lambda for clarity
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Supply a boolean.

    Methods inherited from interface BooleanSupplier

    getAsBoolean
  • Field Details

  • Method Details

    • asBoolean

      default boolean asBoolean()
      Supply a boolean.
      Returns:
      a boolean result