Skip to Main Content
Programming Atlas
book

Programming Atlas

by Christian Wenz
September 2006
Intermediate to advanced content levelIntermediate to advanced
408 pages
10h 38m
English
O'Reilly Media, Inc.
Content preview from Programming Atlas

Helper Classes

Some Atlas helper classes and features mimic the behavior of equivalent .NET Framework classes or features.

Sys.StringBuilder

Method

Description

Web.StringBuilder(initialText)

Constructor with initial text for the string

append(text)

Appends a text to the string

appendLine(text)

Appends a text and a newline (\r\n) to the string

clear()

Empties the string

isEmpty()

Whether the string is empty or not

toString(delimiter)

Joins all elements to a string

Enumerations

Method

Description

getValues()

Returns all values in the enumeration

valueFromString(s)

Returns the enumeration value with the given name

valueToString(value)

Returns the given enumeration value as a string

Type.createEnum(name, value1, index1, ...)

Creates an enumeration with the parameters provided to the Method

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Go Systems Programming

Go Systems Programming

Mihalis Tsoukalos

Publisher Resources

ISBN: 0596526725Supplemental ContentCatalog PageErrata