Method ADT.OrderedMapping()->cast()
- Method
cast
(
mapping
)ADT.OrderedMapping()
(array
)ADT.OrderedMapping()- Description
Cast the object into various other types.
- Note
This method can not be called on the object. A proper
(cast)
has to be done.- Parameter
how
mapping
Will return a
mapping
. This will of course break the "orderness" of this object's indices.array
Will return an
array(array)
where the inner array has two values where the first is the index and the second the value.multiset
Will return the indices as a
multiset
program
Will return the
program
the object was instantiated from.