Esempio n. 1
0
 /*
  * Converts the specified boolean to its string representation.
  *
  * @param value
  *            the boolean to convert.
  * @return "true" if {@code value} is {@code true}, "false" otherwise.
  */
 public static String toString(bool value)
 {
     return(StringJ.valueOf(value));
 }
Esempio n. 2
0
        /*
         * Returns a string containing a concise, human-readable description of this
         * boolean.
         *
         * @return "true" if the value of this boolean is {@code true}, "false"
         *         otherwise.
         */

        public override String ToString()
        {
            return(StringJ.valueOf(value));
        }