Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Collections/Lisaac/collections-1.lisaac
Normal file
4
Task/Collections/Lisaac/collections-1.lisaac
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
+ vector : ARRAY[INTEGER];
|
||||
vector := ARRAY[INTEGER].create_with_capacity 32 lower 0;
|
||||
vector.add_last 1;
|
||||
vector.add_last 2;
|
||||
4
Task/Collections/Lisaac/collections-2.lisaac
Normal file
4
Task/Collections/Lisaac/collections-2.lisaac
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
+ set : HASHED_SET[INTEGER];
|
||||
set := HASHED_SET[INTEGER].create;
|
||||
set.add 1;
|
||||
set.add 2;
|
||||
4
Task/Collections/Lisaac/collections-3.lisaac
Normal file
4
Task/Collections/Lisaac/collections-3.lisaac
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
+ list : LINKED_LIST[INTEGER];
|
||||
list := LINKED_LIST[INTEGER].create;
|
||||
list.add_last 1;
|
||||
list.add_last 2;
|
||||
4
Task/Collections/Lisaac/collections-4.lisaac
Normal file
4
Task/Collections/Lisaac/collections-4.lisaac
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
+ dict : HASHED_DICTIONARY[INTEGER/*value*/, STRING_CONSTANT/*key*/];
|
||||
dict := HASHED_DICTIONARY[INTEGER, STRING_CONSTANT].create;
|
||||
dict.put 1 to "one";
|
||||
dict.put 2 to "two";
|
||||
Loading…
Add table
Add a link
Reference in a new issue