Class PiBool

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiBool
    extends Object
    implements PiData
    Boolean entity in a protocol-independent pipeline.
    • Method Detail

      • of

        public static PiBool of​(Boolean bool)
        Returns a new protocol-independent Bool.
        Parameters:
        bool - boolean
        Returns:
        protocol-independent Bool
      • bool

        public Boolean bool()
        Return protocol-independent Boolean instance.
        Returns:
        bool
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object