TypeUtils

Members

Static functions

getSimpleName
string getSimpleName(TypeInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
isFloatingPoint
bool isFloatingPoint(TypeInfo typeInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
isIntegral
bool isIntegral(TypeInfo typeInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
isString
bool isString(TypeInfo typeInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
isUsignedIntegral
bool isUsignedIntegral(TypeInfo typeInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
numberOfLeadingZeros
int numberOfLeadingZeros(int i)

Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified {@code int} value. Returns 32 if the specified value has no one-bits in its two's complement representation, in other words if it is equal to zero.

Meta