sleep.runtime

Class MapWrapper

public class MapWrapper extends Object implements ScalarHash

A class for creating accessing a Map data structure in your application in a ready only way. It is assumed that your map data structure uses strings for keys. Accessed values will be returned as scalar strings
Field Summary
protected Mapvalues
Constructor Summary
MapWrapper(Map _values)
Method Summary
ScalargetAt(Scalar key)
ScalarArraykeys()
this operation is kind of expensive... should be fixed up to take care of that
voidremove(Scalar key)
StringtoString()

Field Detail

values

protected Map values

Constructor Detail

MapWrapper

public MapWrapper(Map _values)

Method Detail

getAt

public Scalar getAt(Scalar key)

keys

public ScalarArray keys()
this operation is kind of expensive... should be fixed up to take care of that

remove

public void remove(Scalar key)

toString

public String toString()