Class BooleanType

java.lang.Object
smile.data.type.PrimitiveType
smile.data.type.BooleanType
All Implemented Interfaces:
Serializable, DataType

public class BooleanType extends PrimitiveType
Boolean data type.
See Also:
  • Method Details

    • isBoolean

      public boolean isBoolean()
      Description copied from interface: DataType
      Returns true if the type is boolean or Boolean.
      Returns:
      true if the type is boolean or Boolean.
    • valueOf

      public Boolean valueOf(String s)
      Description copied from interface: DataType
      Returns the value from its string representation.
      Parameters:
      s - the string representation of a value of this type.
      Returns:
      the value.