Return type | Name and parameters |
---|---|
boolean
|
asBoolean()
Coerce a character to a boolean value. |
int
|
compareTo(Character right)
Compare two Characters. |
int
|
compareTo(Number right)
Compare a Character and a Number. |
Number
|
div(Character right)
Divide one Character by another. |
Number
|
div(Number right)
Divide a Character by a Number. |
Number
|
intdiv(Character right)
Integer Divide two Characters. |
Number
|
intdiv(Number right)
Integer Divide a Character by a Number. |
boolean
|
isDigit()
Determines if a character is a digit. |
boolean
|
isLetter()
Determines if a character is a letter. |
boolean
|
isLetterOrDigit()
Determines if a character is a letter or digit. |
boolean
|
isLowerCase()
Determine if a Character is lowercase. |
boolean
|
isUpperCase()
Determine if a Character is uppercase. |
boolean
|
isWhitespace()
Determines if a character is a whitespace character. |
Number
|
minus(Character right)
Subtract one Character from another. |
Number
|
minus(Number right)
Subtract a Number from a Character. |
Number
|
multiply(Character right)
Multiply two Characters. |
Number
|
multiply(Number right)
Multiply a Character by a Number. |
Character
|
next()
Increment a Character by one. |
Number
|
plus(Character right)
Add one Character to another. |
Number
|
plus(Number right)
Add a Character and a Number. |
Character
|
previous()
Decrement a Character by one. |
char
|
toLowerCase()
Converts the character to lowercase. |
char
|
toUpperCase()
Converts the character to uppercase. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachMatch
, eachMatch
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, isNotCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, stream
, tap
, toString
, use
, use
, use
, with
, with
, withCloseable
, withStream
, withTraits
Coerce a character to a boolean value. A character is coerced to false if it's character value is equal to 0, and to true otherwise.
Compare two Characters. The ordinal values of the Characters are compared (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a CharacterCompare a Character and a Number. The ordinal value of the Character is used in the comparison (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a NumberDivide one Character by another. The ordinal values of the Characters are used in the division (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- another CharacterDivide a Character by a Number. The ordinal value of the Character is used in the division (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a NumberInteger Divide two Characters. The ordinal values of the Characters are used in the division (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- another CharacterInteger Divide a Character by a Number. The ordinal value of the Character is used in the division (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a NumberDetermines if a character is a digit. Synonym for 'Character.isDigit(this)'.
Determines if a character is a letter. Synonym for 'Character.isLetter(this)'.
Determines if a character is a letter or digit. Synonym for 'Character.isLetterOrDigit(this)'.
Determine if a Character is lowercase. Synonym for 'Character.isLowerCase(this)'.
Determine if a Character is uppercase. Synonym for 'Character.isUpperCase(this)'.
Determines if a character is a whitespace character. Synonym for 'Character.isWhitespace(this)'.
Subtract one Character from another. The ordinal values of the Characters is used in the comparison (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a CharacterSubtract a Number from a Character. The ordinal value of the Character is used in the subtraction (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a NumberMultiply two Characters. The ordinal values of the Characters are used in the multiplication (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- another CharacterMultiply a Character by a Number. The ordinal value of the Character is used in the multiplication (the ordinal value is the unicode value which for simple character sets is the ASCII value).
right
- a NumberIncrement a Character by one.
Add one Character to another. The ordinal values of the Characters are used in the addition (the ordinal value is the unicode value which for simple character sets is the ASCII value). This operation will always create a new object for the result, while the operands remain unchanged.
right
- a CharacterAdd a Character and a Number. The ordinal value of the Character is used in the addition (the ordinal value is the unicode value which for simple character sets is the ASCII value). This operation will always create a new object for the result, while the operands remain unchanged.
right
- a NumberDecrement a Character by one.
Converts the character to lowercase. Synonym for 'Character.toLowerCase(this)'.
Converts the character to uppercase. Synonym for 'Character.toUpperCase(this)'.