Package data-structures
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.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
listIsEmpty | boolean listIsEmpty(DSList list) | No description in source. |
stackIsEmpty | boolean stackIsEmpty(DSStack stack) | No description in source. |
queueIsEmpty | boolean queueIsEmpty(DSQueue queue) | No description in source. |
mapIsEmpty | boolean mapIsEmpty(DSMap map) | No description in source. |
listSize | int listSize(DSList list) | No description in source. |
stackSize | int stackSize(DSStack stack) | No description in source. |
queueSize | int queueSize(DSQueue queue) | No description in source. |
mapSize | int mapSize(DSMap map) | No description in source. |
objectType | String objectType(DSObject object) | No description in source. |
objectFields | int 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.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
size | int size | No description in source. |
capacity | int capacity | No description in source. |
DSListOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
empty | boolean empty(DSList list) | No description in source. |
size | int size(DSList list) | No description in source. |
capacity | int capacity(DSList list) | No description in source. |
hasCapacity | boolean 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
size | int size | No description in source. |
DSMapOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
empty | boolean empty(DSMap map) | No description in source. |
size | int size(DSMap map) | No description in source. |
hasEntries | boolean 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
fieldCount | int fieldCount | No description in source. |
DSObjectOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
typeName | String typeName(DSObject object) | No description in source. |
fieldCount | int fieldCount(DSObject object) | No description in source. |
hasFields | boolean 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
size | int size | No description in source. |
DSQueueOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
empty | boolean empty(DSQueue queue) | No description in source. |
size | int size(DSQueue queue) | No description in source. |
canDequeue | boolean 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
size | int size | No description in source. |
DSStackOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
empty | boolean empty(DSStack stack) | No description in source. |
size | int size(DSStack stack) | No description in source. |
canPop | boolean 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
kind | int kind | No description in source. |
intValue | int intValue | No description in source. |
doubleValue | double doubleValue | No description in source. |
boolValue | boolean boolValue | No description in source. |
stringValue | String stringValue | No description in source. |
DSValueOperations class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
intValue | DSValue intValue(int v) | No description in source. |
doubleValue | DSValue doubleValue(double v) | No description in source. |
boolValue | DSValue boolValue(boolean v) | No description in source. |
stringValue | DSValue stringValue(String v) | No description in source. |
kind | int 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.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
source | String source | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String path) | No description in source. |
path | String path() | No description in source. |
available | boolean available() | No description in source. |