SleelaDoc API
HTML documentation for the SLeeLa standard library (/lib)
Home › Packages › data-structures

Package data-structures

This package contains 9 source unit(s) defining 15 class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.

DataStructures #sleela 2.5 (lib/data-structures/DataStructures.sleela)

DataStructures class

Defines the SLeeLa standard-library type DataStructures used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
listIsEmptyboolean listIsEmpty(DSList list)No description in source.
stackIsEmptyboolean stackIsEmpty(DSStack stack)No description in source.
queueIsEmptyboolean queueIsEmpty(DSQueue queue)No description in source.
mapIsEmptyboolean mapIsEmpty(DSMap map)No description in source.
listSizeint listSize(DSList list)No description in source.
stackSizeint stackSize(DSStack stack)No description in source.
queueSizeint queueSize(DSQueue queue)No description in source.
mapSizeint mapSize(DSMap map)No description in source.
objectTypeString objectType(DSObject object)No description in source.
objectFieldsint objectFields(DSObject object)No description in source.

DataStructuresTest #sleela 2.5 (lib/data-structures/DataStructuresTest.sleela)

DataStructuresTest class

Defines the SLeeLa standard-library type DataStructuresTest used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

DSList #sleela 2.5 (lib/data-structures/DSList.sleela)

DSList struct

Defines the SLeeLa standard-library type DSList used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sizeint sizeNo description in source.
capacityint capacityNo description in source.

DSListOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
emptyboolean empty(DSList list)No description in source.
sizeint size(DSList list)No description in source.
capacityint capacity(DSList list)No description in source.
hasCapacityboolean hasCapacity(DSList list)No description in source.

DSMap #sleela 2.5 (lib/data-structures/DSMap.sleela)

DSMap struct

Defines the SLeeLa standard-library type DSMap used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sizeint sizeNo description in source.

DSMapOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
emptyboolean empty(DSMap map)No description in source.
sizeint size(DSMap map)No description in source.
hasEntriesboolean hasEntries(DSMap map)No description in source.

DSObject #sleela 2.5 (lib/data-structures/DSObject.sleela)

DSObject struct

Defines the SLeeLa standard-library type DSObject used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString nameNo description in source.
fieldCountint fieldCountNo description in source.

DSObjectOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
typeNameString typeName(DSObject object)No description in source.
fieldCountint fieldCount(DSObject object)No description in source.
hasFieldsboolean hasFields(DSObject object)No description in source.

DSQueue #sleela 2.5 (lib/data-structures/DSQueue.sleela)

DSQueue struct

Defines the SLeeLa standard-library type DSQueue used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sizeint sizeNo description in source.

DSQueueOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
emptyboolean empty(DSQueue queue)No description in source.
sizeint size(DSQueue queue)No description in source.
canDequeueboolean canDequeue(DSQueue queue)No description in source.

DSStack #sleela 2.5 (lib/data-structures/DSStack.sleela)

DSStack struct

Defines the SLeeLa standard-library type DSStack used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sizeint sizeNo description in source.

DSStackOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
emptyboolean empty(DSStack stack)No description in source.
sizeint size(DSStack stack)No description in source.
canPopboolean canPop(DSStack stack)No description in source.

DSValue #sleela 2.5 (lib/data-structures/DSValue.sleela)

DSValue struct

Defines the SLeeLa standard-library type DSValue used within the data-structures library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindint kindNo description in source.
intValueint intValueNo description in source.
doubleValuedouble doubleValueNo description in source.
boolValueboolean boolValueNo description in source.
stringValueString stringValueNo description in source.

DSValueOperations class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intValueDSValue intValue(int v)No description in source.
doubleValueDSValue doubleValue(double v)No description in source.
boolValueDSValue boolValue(boolean v)No description in source.
stringValueDSValue stringValue(String v)No description in source.
kindint kind(DSValue v)No description in source.

SLPackage #sleela 2.5 (lib/data-structures/SLPackage.sleela)

dataStructures class

Defines the SLeeLa standard-library package for data-structures.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sourceString sourceNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String path)No description in source.
pathString path()No description in source.
availableboolean available()No description in source.