Useful API Functions
This document lists most useful (and most often needed) classes and functions. Be aware, that there are many more to be found in either the class references or via the builtin class browser.
Inhaltsverzeichnis
String[Bearbeiten]
Strings are sequences of characters. Expecco uses and supports the Unicode encoding standard and supports the whole unicode range. However, not all fonts will contain all characters, resulting in some missing characters being drawn with a replacement char (typically a box-like rectangle). The concrete details depend on the operating system and the set of installed fonts.
String instances inherit a lot of functionality from Strings superclasses: SequenceableCollection and Collection. Thus, all functions found there (enumeration, mapping, filtering, searching etc.) can also be applied to strings.
Reference: String inherits from: CharacterArray and SequenceableCollection and Collection
Collection[Bearbeiten]
Reference: Collection
Filename[Bearbeiten]
Reference: Filename
Stream[Bearbeiten]
Streams can be internal (eg. reading from a String) or external (eg. a file stream, pipe or socket).
Reference: Stream
Number[Bearbeiten]
Reference: Number and its subclasses Integer, Float, Fraction, Complex