• Built-in classes

    1.  There are numerous roo!™ built-in classes.

    2.  These classes are implemented within the roo!™ interpreter, in a native programming language.

    3.  The use of these classes provides improved performance for common programming constructs.

    4.  roo!™ programs that you develop can extend built-in classes.

    5.  The following built-in classes are provided.

      Aggregate a generic collection base class
      BitVector a condensed vector of boolean values of a fixed size -- 4096 bits
      Callback abstract callback class associated with an external program
      CharacterVector a vector of one-byte wide characters
      Clipboard a clipboard text encapsulation
      Comparator abstract class for comparing two items
      Console console stream
      ContextVector
      (aka StackTrace)
      system call vector access class
      DriveContext
      (aka DiskContext)
      drive (disk) reference context
      Emitter an output stream emitter
      Exception exception information that can be referenced by catch condition handlers
      ExternalClass a class that is supported by an external program
      File file information
      FolderContext
      (aka DirectoryContext)
      folder (directory) reference context
      InLineFile an input file that is accessed as a sequence of lines
      InOutLineFile a file that is updated as a sequence of lines
      InStream default input stream (standard input)
      List a collection of heterogeneous items.
      Map a collection of heterogeneous items. a map is indexed by a string value
      Math various mathematic functions (natural logarithm, sine, cosine, etc) and constants (Π, e, Φ, γ)
      Object a generic object base class
      OrderedVector an ordered collection of items multiple items may have the same value
      OutLineFile an output file that is accessed as a sequence of lines
      OutStream default output stream (standard output)
      Pattern a regular expression pattern
      PatternMatch matching information for a regular expression pattern search
      Queue a collection of heterogeneous items, that is accessed at the front or end.
      Set an ordered collection of unique items
      Stack a collection of heterogeneous items, that is accessed at the end.
      System system information
      SystemPropertyMap a collection of system properties (aka environment variables) a map is indexed by a string value
      Table a two dimensional table containing an arbitrary number of rows, and a fixed number of columns
      Tree a hierarchical object
      Vector a collection of heterogeneous items.
      WideCharacterVector a vector of two-byte wide characters