Class ALines

Summary

An actual address is a list of lines.

Superclasses:
Struct

Package:
addressbook
File:
addressdb.icn
Methods:
addElement, remove

Methods inherited from Object:
Type, className, clone, equals, fieldNames, genMethods, getField, get_class, get_class_name, get_id, hasField, hasMethod, hash_code, instanceOf, invoke, is_instance, setField, to_string

Methods inherited from Struct:
fromIStruct, fromString, gen, toIStruct, toString

Source code.

Details
Constructor

ALines(s)

Parameter:
s
a string consisting of address lines, each terminated with a newline (\n). (This string is how an address is held in the address book database.)

Methods:

addElement(e)

Parameter:
e
element to add to structure
Returns:
nothing useful

Add a single element to the structure.

This method overrides addElement in class Struct

remove(e)

Parameter:
e
element to remove

Remove lines from the address (no-op!)

This method overrides remove in class Struct

This page produced by UniDoc on 2021/04/15 @ 23:59:53.