Method ADT.OrderedMapping()->create()
- Method create
ADT.OrderedMapping ADT.OrderedMapping(
mixed
...args
)- Example
ADT.OrderedMapping m1 = ADT.OrderedMapping("key1", "val1", "key2", "val2");
- Throws
An error is thrown if the number of arguments isn't even.
- Parameter
args
Odd arguments are the indices, even arguments the values.
"index", "value", "index", "value", ...