public class ArrayList
A weak indexable collection
| Modifier and Type | Field |
|---|---|
Array |
_array
|
Reference<system'IntNumber> |
_length
|
Reference<system'IntNumber> |
_capacity
|
| Modifier and Type | Constructor / Static Method |
|---|---|
ArrayList |
allocate(IntNumber capacity)
Creates an empty collection with preallocated space
|
ArrayList |
allocate()
Creates an empty collection with preallocated space for 32 items
|
ArrayList |
constructor()
Creates an empty collection
|
internal ArrayList |
fromArray(Array array, IntNumber length)
Copies first length elements of a weak array a into the collection
|
ArrayList |
load(o)
Copies a weak enumerable object o into the collection
|
ArrayList |
load(Array a)
Copies a weak array a into the collection
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the collection
|
get Array |
Value()
Returns a shallow copy of the collection as a weak array
|
| Modifier and Type | Conversion Method |
|---|---|
Array |
cast()
|
| Modifier and Type | Method |
|---|---|
|
append(item)
Appends a new object to the end of the list
|
|
appendRange(subarray)
Appends all emenents of an array subarray
|
|
appendRange(Indexable indexable)
Appends all emenents of an indexable object
|
|
at(IntNumber index)
Returns the element at a position index
If an index is out of range, it raises InvalidArgumentException exception. |
|
clear()
Removes all elements of the collection
|
ArrayList |
clone()
Returns a shallow copy of the collection
|
Enumerator |
enumerator()
Returns the collection enumerator
|
|
insert(IntNumber index, Object object)
Inserts an element object to the specified position index
|
|
remove(IntNumber index)
Removes an element at the specified position index
|
|
removeAt(n)
|
|
setAt(IntNumber index, Object o)
Assigns o to the element at the position index
If an index is out of range, it raises InvalidArgumentException exception. |
|
trim(IntNumber pos)
Removes the last pos elements of the collection
|
public template BinaryHeap<T1>
A binary heap
| Modifier and Type | Field |
|---|---|
T1 |
_default
|
T1[] |
_btree
|
Func<T1,T1,system'BoolValue> |
_comparator
|
Reference<system'IntNumber> |
_length
|
| Modifier and Type | Constructor / Static Method |
|---|---|
BinaryHeap<T1> |
constructor()
Creates a min binary heap
|
BinaryHeap<T1> |
heapify(Enumerable<T1> list, Func<T1,T1,system'BoolValue> comparator)
Creates a binary heap from the provided list with a custom comparator
|
BinaryHeap<T1> |
heapifyMaxHeap(Enumerable<T1> list)
Creates a binary max heap from the provided list
|
BinaryHeap<T1> |
heapifyMinHeap(Enumerable<T1> list)
Creates a binary min heap from the provided list
|
BinaryHeap<T1> |
new(Func<T1,T1,system'BoolValue> comparator)
Creates a binary heap with a custom comparator
|
BinaryHeap<T1> |
newMaxHeap()
Creates a max binary heap
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the binary heap
|
| Modifier and Type | Method |
|---|---|
|
clear()
Removes all elements from the binary heap
|
T1 |
peek()
Returns a top element from the binary heap
Depending on the type of the heap it can be a minimal or maximal element. The heap content is not modified |
T1 |
pop()
Removes a top element from the binary heap and returns it.
Depending on the type of the heap it can be a minimal or maximal element |
T1 |
popPush(T1 item)
Removes a top element from the binary heap, appends a new one and returns the former top one.
Depending on the type of the heap it can be a minimal or maximal element |
|
push(T1 item)
Appends an element into the binary heap
|
T1 |
pushPop(T1 item)
Appends an element into the binary heap, rebuilds it and removes a top element from the binary heap returning it.
Depending on the type of the heap it can be a minimal or maximal element |
BoolValue |
remove(item)
Removes a first occurrence of item element if found and returns true or false if no element was found
|
BoolValue |
remove(T1 item)
Removes a first occurrence of item element if found and returns true or false if no element was found
|
public class Dictionary
A weak dictionary class
| Modifier and Type | Field |
|---|---|
ArrayList |
_list
|
Array |
_hashTable
|
IntNumber |
_hashMask
|
Object |
_default
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Dictionary |
new()
Creates a dictionary
|
Dictionary |
new(Object default)
Creates a dictionary with the specified default value
|
Dictionary |
new(IntNumber capacity, Object default)
Creates a dictionary with the specified default value and the preallocated space
|
Dictionary |
new(IntNumber capacity, IntNumber hashLength, Object default)
Creates a dictionary with the specified default value and the preallocated space
|
| Modifier and Type | Property |
|---|---|
get ArrayList |
Values()
Returns an array of key-value pairs
|
| Modifier and Type | Method |
|---|---|
|
at(Object key)
Returns a dictionary element with key
|
|
clear()
Clears the dictionary content
|
|
clone()
Makes a shallow copy a dictionary
|
BoolValue |
containsKey(Object key)
Returns true if the dictionary element with key exists in the dictionary
|
Enumerator |
enumerator()
Returns a dictionary enumerator
|
|
setAt(Object key, Object object)
Adds or updates a dictionary element with key
|
public class List
A list of objects
| Modifier and Type | Field |
|---|---|
Reference<system'IntNumber> |
_count
|
ListItem |
_top
|
ListItem |
_last
|
| Modifier and Type | Constructor / Static Method |
|---|---|
List |
constructor()
Creates a weak linked list
|
List |
constructor(Array l)
Copies an array
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the list length
|
get internal ListItem |
TopItem()
|
| Modifier and Type | Method |
|---|---|
|
append(object)
Appends an element
|
|
at(IntNumber index)
Returns the element at the specified position
|
|
clear()
Removes all list elements
|
List |
clone()
Creates a shallow copy of the list
|
Enumerator |
enumerator()
Returns the list enumerator
|
internal ListItem |
getItemAt(IntNumber index)
|
|
insert(object)
Inserts an element at the list top
|
|
insert(IntNumber index, Object object)
Inserts a new object to the specified position
|
|
remove(IntNumber index)
Removes an object at the specified position
|
|
removeAt(index)
Removes an object at the specified position
|
|
setAt(IntNumber index, Object object)
Sets the element at the specified position
|
public template List<T1>
A strong-typed list
| Modifier and Type | Field |
|---|---|
T1[] |
_array
|
Reference<system'IntNumber> |
_length
|
Reference<system'IntNumber> |
_capacity
|
| Modifier and Type | Constructor / Static Method |
|---|---|
List<T1> |
constructor(T1[] a)
Copies a strong-typed array
|
List<T1> |
constructor(Enumerator<T1> e)
Copies a strong-typed enumerator
|
List<T1> |
constructor(IntNumber capacity)
Creates an empty list with the preallocated space
|
List<T1> |
constructor()
Creates an empty list
|
List<T1> |
load(source)
|
List<T1> |
load(Enumerator<T1> e)
Copies a strong-typed enumerator
|
List<T1> |
load(T1[] a, IntNumber index, IntNumber len)
Copies a strong-typed sub array a from index element, with the provided length len
|
| Modifier and Type | Property |
|---|---|
get BoolValue |
Empty()
Returns true if the list is empty
|
get T1 |
First()
Returns the first elemenet of the list
|
get T1 |
Last()
Returns the last elemenet of the list
|
get IntNumber |
Length()
Returns the list length
|
get T1[] |
Value()
Returns a shallow copy of the list as a strong-typed array
|
| Modifier and Type | Conversion Method |
|---|---|
Indexable |
cast()
|
| Modifier and Type | Method |
|---|---|
|
append(T1 object)
Appends a new object to the end of the list
|
|
appendRange(Enumerator<T1> e)
Copies an enumerable collection
|
T1 |
at(IntNumber index)
Returns the object at the specified position
|
|
clear()
Removes all elemements
|
|
clone()
Returns a shallow copy of the list
|
Enumerator<T1> |
enumerator()
Returns a list enumerator
|
|
insert(IntNumber index, T1 object)
Inserts the element at the specified index
|
|
insert(T1 object)
Inserts the element at the top
|
|
remove(IntNumber index)
Removes an object at the specified position
|
|
setAt(IntNumber index, T1 object)
Sets the element at the specified position
|
|
trim(IntNumber pos)
Trims the list at the specified position
|
public template Map<T1,T2>
A strong-typed map template
| Modifier and Type | Field |
|---|---|
IntNumber |
_hashMask
|
List<system'collections'VarTuple<T1,T2>> |
_list
|
system'IntNumber[][] |
_hashTable
|
Func<system'Object,system'IntNumber> |
_hashFunction
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Map<T1,T2> |
constructor()
Creates a map with a default size (37) and a capacity (32)
|
Map<T1,T2> |
constructor(IntNumber capacity, IntNumber hashLength)
Creates a map with the provided capacity and the length
|
Map<T1,T2> |
new(Func<system'Object,system'IntNumber> hashFunction)
Creates a map with a default size (37) and a capacity (32); the custom hash function is provided
|
| Modifier and Type | Property |
|---|---|
get T2[] |
MapValues()
Returns an array of a map values
|
get system'collections'VarTuple<T1,T2>[] |
Values()
Returns an array of a key-value pairs
|
| Modifier and Type | Method |
|---|---|
T2 |
at(T1 key)
Returns a dictionary element with key
|
|
clear()
Removes all key-value paires
|
|
clone()
Makes a shallow copy a map
|
BoolValue |
containsKey(T1 key)
Returns true if the map contains the provided key
|
Enumerator<system'collections'VarTuple<T1,T2>> |
enumerator()
Returns an enumerator of a key-value pairs
|
|
setAt(T1 key, T2 object)
Adds or updates a dictionary element with key
|
public class Queue
A weak FIFO list
| Modifier and Type | Field |
|---|---|
ArrayList |
_list
|
Reference<system'IntNumber> |
_top
|
Reference<system'IntNumber> |
_tale
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Queue |
constructor()
Creates an empty queue
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the queue length
|
get internal IntNumber |
TalePointer()
|
get internal IntNumber |
TopPointer()
|
| Modifier and Type | Conversion Method |
|---|---|
ArrayList |
cast()
|
| Modifier and Type | Method |
|---|---|
|
clear()
Removes all elements from the queue
|
Enumerator |
enumerator()
Returns the queue enumerator
|
|
peek()
Returns an element at the queue top without removing it from the queue
The exception is raised if the queue is empty |
|
pop()
Returns an element at the queue top and removes it from the queue
The exception is raised if the queue is empty |
|
push(object)
Puts an element at the queue end
|
|
shift(IntNumber offset)
Moves the element at the queue top down by offset positions
|
public template Queue<T1>
A strong-typed FIFO list template
| Modifier and Type | Field |
|---|---|
List<T1> |
_array
|
Reference<system'IntNumber> |
_top
|
Reference<system'IntNumber> |
_tale
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Queue<T1> |
allocate(IntNumber capacity)
Creates an empty queue with preallocated space
|
Queue<T1> |
constructor()
Creates an empty queue
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the queue length
|
| Modifier and Type | Method |
|---|---|
|
clear()
Removes all elements from the queue
|
Enumerator<T1> |
enumerator()
Returns the queue enumerator
|
BoolValue |
isEmpty()
Returns true if the queue is empty
|
BoolValue |
isNotEmpty()
Returns true if the queue is not empty
|
T1 |
peek()
Returns an element at the queue top without removing it from the queue
The exception is raised if the queue is empty |
T1 |
pop()
Returns an element at the queue top and removes it from the queue
The exception is raised if the queue is empty |
|
push(T1 object)
Puts an element at the queue end
|
public class SortedArrayList
A sorted weak list of key-value pairs
| Modifier and Type | Field |
|---|---|
system'collections'VarTuple<system'Object,system'Object>[] |
_array
|
Reference<system'IntNumber> |
_length
|
Reference<system'IntNumber> |
_capacity
|
Func<system'Object,system'Object,system'IntNumber> |
_comparator
|
| Modifier and Type | Constructor / Static Method |
|---|---|
SortedArrayList |
allocate(IntNumber capacity)
Creates an empty list sorted by ascending key with pre-allocated slots
|
SortedArrayList |
allocate(IntNumber capacity, Func<system'Object,system'Object,system'IntNumber> comparator)
Creates an empty list with a custom oredering function with pre-allocated slots
The function returns -1 if a pair of item keys is ordered, 0 if they are equal and 1 otherwise |
SortedArrayList |
allocate()
Creates an empty list sorted by ascending key with 32 pre-allocated slots
|
SortedArrayList |
constructor()
Creates an empty list sorted by ascending key
|
SortedArrayList |
constructor(Func<system'Object,system'Object,system'IntNumber> comparator)
Creates an empty list with a custom oredering function
The function returns -1 if a pair of item keys is ordered, 0 if they are equal and 1 otherwise |
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the list
|
| Modifier and Type | Method |
|---|---|
|
append(Object key, Object item)
Adds a key-value pair, the position of the element is defined by key using the given comparator
|
|
at(IntNumber index)
Returns the value of a key-value pair at the specified position
|
|
clear()
Removes all key-value paires
|
Enumerator |
enumerator()
Returns the list enumerator
|
|
remove(IntNumber index)
Removes a key-value pair at the specified position
|
|
setAt(IntNumber index, Object o)
Sets the value of a key-value pair at the specified position
|
|
trim(IntNumber pos)
Removes the last pos key-value pairs of the collection
|
public class SortedList
A sorted generic list of key value pairs
| Modifier and Type | Field |
|---|---|
SortedListItem |
_top
|
Reference<system'IntNumber> |
_length
|
Func<system'Object,system'Object,system'IntNumber> |
_comparator
|
| Modifier and Type | Constructor / Static Method |
|---|---|
SortedList |
new()
Creates a weak-typed list sorted by ascending value
|
SortedList |
new(Func<system'Object,system'Object,system'IntNumber> comparator)
Creates a weak-typed list with a custom sort function
A function must return -1 if in the right order, 1 if the order is opposite and 0 if they are the same |
| Modifier and Type | Property |
|---|---|
get internal SortedListItem |
FirstItem()
|
get IntNumber |
Length()
Returns the number of elements in the collection
|
| Modifier and Type | Method |
|---|---|
|
append(Object key, Object item)
Appends a new key-value element to the end of the list
The element position is defined by its sorted order |
Object |
at(IntNumber index)
Returns the value at a position index
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Returns the collection enumerator
|
IntNumber |
indexOfKey(Object key)
Returns the element position based on its key value
If there is no element with the specified key, it returns -1 |
|
removeAt(IntNumber index)
Removes the element at the specified position
|
|
setAt(IntNumber index, Object item)
Sets the element value at a position index
If an index is out of range, it raises InvalidArgumentException exception. |
public template SortedList<T1,T2>
A sorted strong typed list of key-value pairs
| Modifier and Type | Field |
|---|---|
system'collections'VarTuple<T1,T2>[] |
_array
|
Reference<system'IntNumber> |
_length
|
Reference<system'IntNumber> |
_capacity
|
Func<T1,T1,system'IntNumber> |
_comparator
|
| Modifier and Type | Constructor / Static Method |
|---|---|
SortedList<T1,T2> |
allocate(IntNumber capacity)
Creates an empty list sorted by ascending key with pre-allocated slots
|
SortedList<T1,T2> |
allocate(IntNumber capacity, Func<T1,T1,system'IntNumber> comparator)
Creates an empty list with a custom oredering function with pre-allocated slots
The function returns -1 if a pair of items is ordered, 0 if they are equal and 1 otherwise |
SortedList<T1,T2> |
allocate()
Creates an empty list sorted by ascending value with 32 pre-allocated slots
|
SortedList<T1,T2> |
constructor()
Creates an empty list sorted by an ascending key
|
SortedList<T1,T2> |
constructor(Func<T1,T1,system'IntNumber> comparator)
Creates an empty list with a custom oredering function
The function returns -1 if a pair of keys is ordered, 0 if they are equal and 1 otherwise |
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the list
|
| Modifier and Type | Method |
|---|---|
|
append(T1 key, T2 item)
Adds a key-value pair, the position of the element is defined by key using the given comparator
|
T2 |
at(IntNumber index)
Returns the value of a key-value pair at the specified position
|
|
clear()
Removes all key-value paires
|
Enumerator<T2> |
enumerator()
Returns the list enumerator
|
|
remove(IntNumber index)
Removes a key-value pair at the specified position
|
|
setAt(IntNumber index, T2 o)
Sets the value of a key-value pair at the specified position
|
|
trim(IntNumber pos)
Removes the last pos key-value pairs of the collection
|
public class SortedListEnumerator
A sorted collection enumerator
| Modifier and Type | Field |
|---|---|
SortedList |
_list
|
SortedListItem |
_current
|
BoolValue |
_started
|
| Modifier and Type | Constructor / Static Method |
|---|---|
SortedListEnumerator |
constructor(SortedList list)
Creates an enumerator of list sorted collection
|
| Modifier and Type | Property |
|---|---|
get |
Value()
Returns the current element value
|
| Modifier and Type | Method |
|---|---|
|
enumerable()
returns the enumerating sorted collection
|
BoolValue |
next()
Goes to the next enumeration member and returns true if it is not the last member
|
|
reset()
Resets the enumerator
|
public class Stack
A weak LIFO list
| Modifier and Type | Field |
|---|---|
ArrayList |
_list
|
Reference<system'IntNumber> |
_top
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Stack |
constructor()
Creates an empty queue
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the stack
|
get internal IntNumber |
TopPointer()
|
| Modifier and Type | Conversion Method |
|---|---|
ArrayList |
cast()
|
| Modifier and Type | Method |
|---|---|
|
clear()
Removes all elements from the stack
|
Enumerator |
enumerator()
Returns the stack enumerator
|
BoolValue |
isEmpty()
Returns true if the stack is empty
|
BoolValue |
isNotEmpty()
Returns true if the stack is not empty
|
|
peek()
Returns an element at the stack top without removing it from it
The exception is raised if the queue is empty |
|
pop()
Returns an element at the stack top and removes it from the stack
The exception is raised if the queue is empty |
|
push(object)
Puts an element at the stack top
|
public template Stack<T1>
A strong-typed LIFO list template
| Modifier and Type | Field |
|---|---|
List<T1> |
_array
|
Reference<system'IntNumber> |
_top
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Stack<T1> |
allocate(IntNumber capacity)
Creates an empty stack with preallocated space
|
Stack<T1> |
constructor()
Creates an empty queue
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
Returns the number of elements in the stack
|
| Modifier and Type | Method |
|---|---|
|
clear()
Removes all elements from the stack
|
Enumerator<T1> |
enumerator()
Returns the queue enumerator
|
BoolValue |
isEmpty()
Returns true if the stack is empty
|
BoolValue |
isNotEmpty()
Returns true if the stack is not empty
|
T1 |
peek()
Returns an element at the stack top without removing it from it
The exception is raised if the queue is empty |
T1 |
pop()
Returns an element at the stack top and removes it from the stack
The exception is raised if the queue is empty |
|
push(T1 o)
Puts an element at the stack top
|
public class StackEnumerator
A weak stack enumerator
| Modifier and Type | Constructor / Static Method |
|---|---|
StackEnumerator |
constructor(Stack stack)
Creates an enumerator of the given stack
|
| Modifier and Type | Property |
|---|---|
get |
Value()
Returns the current stack element
|
| Modifier and Type | Method |
|---|---|
|
enumerable()
Returns an enumerable stack
|
BoolValue |
next()
Goes to the next enumeration member and returns true if it is not the last member
|
|
reset()
Resets the enumerator, so it can be used again
|
public template Tuple<T1>
An immutable fixed-size collection of one elemenet
| Modifier and Type | Field |
|---|---|
T1 |
Item1
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1> |
constructor(T1 o1)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Tuple<T1,T2>
An immutable fixed-size collection of two elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1,T2> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1,T2> |
constructor(T1 o1, T2 o2)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Conversion Method |
|---|---|
Tuple<system'Object,system'Object> |
cast()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Tuple<T1,T2,T3>
An immutable fixed-size collection of three elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1,T2,T3> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1,T2,T3> |
constructor(T1 o1, T2 o2, T3 o3)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Conversion Method |
|---|---|
Tuple<system'Object,system'Object,system'Object> |
cast()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Tuple<T1,T2,T3,T4>
An immutable fixed-size collection of four elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1,T2,T3,T4> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1,T2,T3,T4> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Conversion Method |
|---|---|
Tuple<system'Object,system'Object,system'Object,system'Object> |
cast()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Tuple<T1,T2,T3,T4,T5>
An immutable fixed-size collection of five elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1,T2,T3,T4,T5> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1,T2,T3,T4,T5> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4, T5 o5)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Conversion Method |
|---|---|
Tuple<system'Object,system'Object,system'Object,system'Object,system'Object> |
cast()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Tuple<T1,T2,T3,T4,T5,T6>
An immutable fixed-size collection of six elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
Tuple<T1,T2,T3,T4,T5,T6> |
constructor()
Creates a fixed-size collection with default values
|
Tuple<T1,T2,T3,T4,T5,T6> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4, T5 o5, T6 o6)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Conversion Method |
|---|---|
Tuple<system'Object,system'Object,system'Object,system'Object,system'Object,system'Object> |
cast()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
public template Union<T1,T2>
| Modifier and Type | Constructor / Static Method |
|---|---|
Union<T1,T2> |
constructor(T1 instance)
|
Union<T1,T2> |
constructor(T2 instance)
|
| Modifier and Type | Property |
|---|---|
set T1 |
Value(ref T1 arg1)
|
set T2 |
Value(ref T2 arg1)
|
get |
Value()
|
public template VarTuple<T1,T2>
A variable fixed-size collection of two elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
VarTuple<T1,T2> |
constructor()
Creates a fixed-size collection with default values
|
VarTuple<T1,T2> |
constructor(T1 o1, T2 o2)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
|
setAt(IntNumber index, Object val)
Assigns item to the element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
public template VarTuple<T1,T2,T3>
A variable fixed-size collection of three elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
VarTuple<T1,T2,T3> |
constructor()
Creates a fixed-size collection with default values
|
VarTuple<T1,T2,T3> |
constructor(T1 o1, T2 o2, T3 o3)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
|
setAt(IntNumber index, Object val)
Assigns item to the element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
public template VarTuple<T1,T2,T3,T4>
A variable fixed-size collection of four elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
VarTuple<T1,T2,T3,T4> |
constructor()
Creates a fixed-size collection with default values
|
VarTuple<T1,T2,T3,T4> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
|
setAt(IntNumber index, Object val)
Assigns item to the element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
public template VarTuple<T1,T2,T3,T4,T5>
A variable fixed-size collection of five elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
VarTuple<T1,T2,T3,T4,T5> |
constructor()
Creates a fixed-size collection with default values
|
VarTuple<T1,T2,T3,T4,T5> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4, T5 o5)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
|
setAt(IntNumber index, Object val)
Assigns item to the element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
public template VarTuple<T1,T2,T3,T4,T5,T6>
A variable fixed-size collection of six elemenet
| Modifier and Type | Constructor / Static Method |
|---|---|
VarTuple<T1,T2,T3,T4,T5,T6> |
constructor()
Creates a fixed-size collection with default values
|
VarTuple<T1,T2,T3,T4,T5,T6> |
constructor(T1 o1, T2 o2, T3 o3, T4 o4, T5 o5, T6 o6)
Creates a fixed-size collection with specified values
|
| Modifier and Type | Property |
|---|---|
get IntNumber |
Length()
|
| Modifier and Type | Method |
|---|---|
|
at(IntNumber index)
Returns an element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |
Enumerator |
enumerator()
Creates a fixed-sized collection enumerator
|
|
setAt(IntNumber index, Object val)
Assigns item to the element at the position n
If an index is out of range, it raises InvalidArgumentException exception. |