Class TernaryBool

  • All Implemented Interfaces:
    java.io.Serializable

    public final class TernaryBool
    extends java.lang.Object
    implements java.io.Serializable
    yes/no/dontknow data type
    See Also:
    Serialized Form
    • Method Detail

      • booleanValue

        public boolean booleanValue​(boolean defaultValue)
      • isUnspecified

        public boolean isUnspecified()
      • definiteYes

        public boolean definiteYes()
      • definiteNo

        public boolean definiteNo()
      • forBoolean

        public static TernaryBool forBoolean​(boolean value)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object