lang/types

strtol(Char *, Pointer, Int)Long
strtoll(Char *, Pointer, Int)LLong
strtoul(Char *, Pointer, Int)ULong
strtof(Char *, Pointer)Float
strtod(Char *, Pointer)Double
strtold(Char *, Pointer)LDouble
strlen(Char *)Int
cover Void
from:void
cover Pointer
from:void*
method toStringString
cover Char
from:char
method isAlphaNumericBool
check for an alphanumeric character
method isAlphaBool
check for an alphabetic character
method isLowerBool
check for a lowercase alphabetic character
method isUpperBool
check for an uppercase alphabetic character
method isDigitBool
check for a decimal digit (0 through 9)
method isHexDigitBool
check for a hexadecimal digit (0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F)
method isControlBool
check for a control character
method isGraphBool
check for any printable character except space
method isPrintableBool
check for any printable character including space
method isPunctuationBool
check for any printable character which is not a space or an alphanumeric character
method isWhitespaceBool
check for white-space characters: space, form-feed (‘\f’), newline (‘\n’), carriage return (‘\r’), horizontal tab (‘\t’), and vertical tab (‘\v’)
method isBlankBool
check for a blank character; that is, a space or a tab
method toIntInt
convert to an integer. This only works for digits, otherwise -1 is returned
method toLowerChar
return the lowered character
method toUpperChar
return the capitalized character
method toStringString
return a one-character string containing this character.
method print
write this character to stdout without a following newline.
method println
write this character to stdout, followed by a newline
cover SChar
extends:Char
from:signed char
cover UChar
extends:Char
from:unsigned char
cover WChar
from:wchar_t
cover String
from:Char*
method new~withLength(length: Int)String
Create a new string exactly length characters long (without the nullbyte). The contents of the string are undefined.
method new~withChar(c: Char)String
Create a new string of the length 1 containing only the character *c
method compare(other: String, start, length: Int)Bool
compare length characters of this with other, starting at start. Return true if the two strings are equal, return false if they are not.
method compare~implicitLength(other: String, start: Int)Bool
compare this with other, starting at start. The count of compared characters is determined by other‘s length.
method compare~whole(other: String)Bool
compare this with other, starting at 0. Compare other length() characters.
method lengthInt
return the string’s length, excluding the null byte.
method equals(other: String)Bool
return true if other and this are equal. This also returns false if either of these two is null.
method toIntInt
convert the string’s contents to Int.
method toInt~withBase(base: Int)Int
method toLongLong
convert the string’s contents to Long.
method toLong~withBase(base: Long)Long
method toLLongLLong
convert the string’s contents to Long Long.
method toLLong~withBase(base: LLong)LLong
method toULongULong
convert the string’s contents to Unsigned Long.
method toULong~withBase(base: ULong)ULong
method toFloatFloat
convert the string’s contents to Float.
method toDoubleDouble
convert the string’s contents to Double.
method toLDoubleLDouble
convert the string’s contents to Long Double.
method isEmptyBool
return true if the string is empty or null.
method startsWith(s: String)Bool
return true if the first characters of this are equal to s.
method startsWith~withChar(c: Char)Bool
return true if the first character of this is equal to c.
method endsWith(s: String)Bool
return true if the last characters of this are equal to s.
method indexOf~charZero(c: Char)Int
return the index of c, starting at 0. If this does not contain c*, return -1.
method indexOf~char(c: Char, start: Int)Int
return the index of c, but only check characters start..length. However, the return value is the index of the c relative to the string’s beginning. If this does not contain c, return -1.
method indexOf~stringZero(s: String)Int
return the index of s, starting at 0. If this does not contain s, return -1.
method indexOf~string(s: String, start: Int)Int
return the index of s, but only check characters start..length. However, the return value is relative to the this‘ first character. If this does not contain c, return -1.
method contains~char(c: Char)Bool
return true if this contains the character *c
method contains~string(s: String)Bool
return true if this contains the string *s
method trim~spaceString
return a copy of this with space characters (ASCII 32) stripped at both ends.
method trim(c: Char)String
return a copy of this with c characters stripped at both ends.
method trim~string(s: String)String
return a copy of this with all characters contained by s stripped at both ends.
method trimLeft~spaceString
return a copy of this with space characters (ASCII 32) stripped from the left side.
method trimLeft(c: Char)String
return a copy of this with c characters stripped from the left side.
method trimLeft~string(s: String)String
return a copy of this with all characters contained by s stripped from the left side.
method trimRight~spaceString
return a copy of this with space characters (ASCII 32) stripped from the right side.
method trimRight(c: Char)String
return a copy of this with c characters stripped from the right side.
method trimRight~string(s: String)String
return a copy of this with all characters contained by s stripped from the right side.
method firstChar
return the first character of this. If this is empty, 0 is returned.
method lastIndexInt
return the index of the last character of this. If this is empty, -1 is returned.
method lastChar
return the last character of this.
method lastIndexOf(c: Char)Int
return the index of the last occurence of c in this. If this does not contain c, return -1.
method substring~tillEnd(start: Int)String
return a substring of this only containing the characters in the range start..length.
method substring(start, end: Int)String
return a substring of this only containing the characters in the range start..end.
method reverseString
return a reversed copy of this.
method print
print this to stdout without a following newline. Flush stdout.
method println
print this followed by a newline.
method times(count: Int)String
return a string that contains this, repeated count times.
method cloneString
return a copy of this.
method append(other: String)String
return a string that contains this followed by other.
method append~char(other: Char)String
return a string containing this followed by other.
method count~char(what: Char)Int
return the number of what‘s occurences in this.
method count~string(what: String)Int
return the number of what‘s non-overlapping occurences in this.
method replace(oldie, kiddo: Char)String
clone myself, return all occurences of oldie with kiddo and return it.
method replace~string(oldie, kiddo: String)String
clone myself, return all occurences of oldie with kiddo and return it.
method prepend(other: String)String
return a new string containg other followed by this.
method prepend~char(other: Char)String
return a new string containing other followed by this.
method toLowerString
return a new string with all characters lowercased (if possible).
method toUpperString
return a new string with all characters uppercased (if possible).
method charAt(index: SizeT)Char
return the character at position #*index* (starting at 0)
method format(...)String
return a string formatted using this as template.
method scanf(format: String, ...)Int
method iteratorStringIterator<T>
cover LLong
from:signed long long
method toStringString
method toHexStringString
method isOddBool
method isEvenBool
method in(range: Range)Bool
cover Long
extends:LLong
from:signed long
cover Int
extends:LLong
from:signed int
cover Short
extends:LLong
from:signed short
cover ULLong
extends:LLong
from:unsigned long long
method toStringString
method in(range: Range)Bool
cover ULong
extends:ULLong
from:unsigned long
cover UInt
extends:ULLong
from:unsigned int
cover UShort
extends:ULLong
from:unsigned short
cover Int8
extends:LLong
from:int8_t
cover Int16
extends:LLong
from:int16_t
cover Int32
extends:LLong
from:int32_t
cover Int64
extends:LLong
from:int64_t
cover UInt8
extends:ULLong
from:uint8_t
cover UInt16
extends:ULLong
from:uint16_t
cover UInt32
extends:ULLong
from:uint32_t
cover UInt64
extends:ULLong
from:uint64_t
cover Octet
extends:ULLong
from:UInt8
cover SizeT
extends:LLong
from:size_t
cover PtrDiffT
extends:LLong
from:ptrdiff_t
cover Bool
from:bool
method toStringString
cover LDouble
from:long double
method toStringString
method absLDouble
cover Float
extends:LDouble
from:float
cover Double
extends:LDouble
from:double
cover Range
method new(min, max: Int)Range
class Class
extends:Object
method allocObject
create a new instance of the object of type defined by this class
method inheritsFrom(T: Class)Bool
return true if this is a subclass of T .
instanceSizeSizeT
sizeSizeT
nameString
superClass
__defaults__ → Func
__destroy__ → Func
__load__ → Func
class Object
method instanceOf(T: Class)Bool
return true if class is a subclass of T.
classClass
class Iterator<T>
extends:Object
method hasNextBool
method next → T
method hasPrevBool
method prev → T
method removeBool
TClass
class Iterable<T>
extends:Object
method iteratorIterator<T>
method toArrayListArrayList<T>
return the contents of the iterable as ArrayList.
TClass
class Exception
extends:Object
static method new~origin(origin: Class, msg: String)Exception
method init~origin(origin: Class, msg: String)
static method new~noOrigin(msg: String)Exception
method init~noOrigin(msg: String)
method crash
method getMessageString
method print
method throw
originClass
msgString
class StringIterator<T>
extends:Iterator<T>
static method new~withStr(str: String)StringIterator<T>
method init~withStr(str: String)
method hasNextBool
method next → T
method hasPrevBool
method prev → T
method removeBool
iInt
strString
class None
extends:Object
static method newNone
method init
class Cell<T>
extends:Object
static method new(val: T)Cell<T>
method init(val: T)
TClass
val → T
INT_MAXInt
INT_MINInt
DBL_MINDouble
DBL_MAXDouble
FLT_MINFloat
FLT_MAXFloat
LDBL_MINLDouble
LDBL_MAXLDouble

This Page