CharUtils
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CharUtils.type
Members list
Value members
Concrete methods
Append the lower-case hex representation of the given long to the given StringBuilder.
Append the lower-case hex representation of the given long to the given StringBuilder.
Attributes
Append the lower-case hex representation of the given long to the given StringBuilder.
Append the lower-case hex representation of the given long to the given StringBuilder.
Attributes
Converts the given Long value into its signed decimal character representation. The characters are placed into the given buffer before the given endIndex (exclusively). CAUTION: This algorithm cannot deal with Long.MinValue, you'll need to special case this value!
Converts the given Long value into its signed decimal character representation. The characters are placed into the given buffer before the given endIndex (exclusively). CAUTION: This algorithm cannot deal with Long.MinValue, you'll need to special case this value!
Attributes
Returns the int value of a given hex digit char. Note: this implementation is very fast (since it's branchless) and therefore does not perform ANY range checks!
Returns the int value of a given hex digit char. Note: this implementation is very fast (since it's branchless) and therefore does not perform ANY range checks!
Attributes
Returns the lower-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)
Returns the lower-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)
Attributes
Returns the lower-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Returns the lower-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Attributes
Efficiently converts the given long into a lower-case hex string.
Efficiently converts the given long into a lower-case hex string.
Attributes
Computes the number of characters required for the signed decimal representation of the given integer.
Computes the number of characters required for the signed decimal representation of the given integer.
Attributes
Computes the number of hex digits required to represent the given integer. Leading zeros are not counted.
Computes the number of hex digits required to represent the given integer. Leading zeros are not counted.
Attributes
Returns a char array representing the given long in signed decimal representation.
Returns a char array representing the given long in signed decimal representation.
Attributes
Returns a String representing the given long in signed decimal representation.
Returns a String representing the given long in signed decimal representation.
Attributes
Efficiently lower-cases the given character. Note: only works for 7-bit ASCII letters.
Efficiently lower-cases the given character. Note: only works for 7-bit ASCII letters.
Attributes
Efficiently upper-cases the given character. Note: only works for 7-bit ASCII letters.
Efficiently upper-cases the given character. Note: only works for 7-bit ASCII letters.
Attributes
Returns the upper-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)
Returns the upper-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)
Attributes
Returns the upper-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Returns the upper-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Attributes
Efficiently converts the given long into an upper-case hex string.
Efficiently converts the given long into an upper-case hex string.