Package io.jawk.ext

Class GawkBool

java.lang.Object
java.lang.Number
io.jawk.ext.GawkBool
All Implemented Interfaces:
Serializable

public final class GawkBool extends Number
Numeric value carrying gawk's boolean type attribute.
See Also:
  • Constructor Details

    • GawkBool

      public GawkBool(boolean valueParam)
      Creates a gawk boolean-number value.
      Parameters:
      valueParam - boolean value
  • Method Details

    • booleanValue

      public boolean booleanValue()
      Returns the boolean value.
      Returns:
      boolean value
    • intValue

      public int intValue()
      Specified by:
      intValue in class Number
    • longValue

      public long longValue()
      Specified by:
      longValue in class Number
    • floatValue

      public float floatValue()
      Specified by:
      floatValue in class Number
    • doubleValue

      public double doubleValue()
      Specified by:
      doubleValue in class Number
    • toString

      public String toString()
      Overrides:
      toString in class Object