Class Set

Summary

A Set of named things.

Superclasses:
Object

Package:
UniDoc
File:
UniForm.icn
Methods:
add, addComment, contains, containsName, del, get, getByName, getComments, getNames, set, setComments, size, startNewComments

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

Fields:
comments, contents

Source code.

Details
Constructor

Set(contents, comments)

Methods:

add(iName, item)

Insert an item into the Set


addComment(newComment)

Add a line to the this Set's current comment paragraph


contains(item)

Succeed if item is in the Set


containsName(iName)

Succeed if the named item is in the Set


del(iName)

Delete an item from the Set, given that item's name


get()

Generate a sorted (by name) sequence of the items in the Set


getByName(iName)

Get a specific item from the Set, given that item's name


getComments()

Produce this Set's Comments()


getNames()

Generate a sorted sequence of the names of the items in the Set


set(newContents)

Change the Set contents


setComments(newComments)

Change the comments associated with this Set


size()

Produce the size of the Set


startNewComments(newComment)

Start a new comment paragraph


Fields:
comments

contents


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