Class NCBool

    • Field Detail

      • TRUE

        public static final NCBool TRUE
        Singleton TRUE instance
      • FALSE

        public static final NCBool FALSE
        Singleton FALSE instance
    • Method Detail

      • getBoolean

        public static NCBool getBoolean​(boolean value)
        Returns a NCBool instance of the specified value.
        Parameters:
        value - boolean value to represent
        Returns:
        the NCBool instance
      • booleanValue

        public boolean booleanValue()
        Returns the boolean value of this object
        Returns:
        boolean value of this object
      • hashCode

        public int hashCode()
        Description copied from class: NCType
        Force subclasses to implement.
        Specified by:
        hashCode in class NCType
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object other)
        Description copied from class: NCType
        Force subclasses to implement.
        Specified by:
        equals in class NCType
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Description copied from class: NCType
        Force subclasses to implement.
        Specified by:
        toString in class NCType
        See Also:
        Object.toString()
      • getType

        public int getType()
        Description copied from class: NCType
        Returns the type of this NCType object.
        Specified by:
        getType in class NCType
        Returns:
        the type of this NCType
        See Also:
        NCType.getType()