sleep.runtime
Class CollectionWrapper
public
class
CollectionWrapper
extends Object
implements ScalarArray
A read only scalar array for wrapping data structures that implement the java.util.Collection interface. Values wrapped
within this class will be converted to object scalars whenever accessed.
protected Object[] array
protected Collection values
public CollectionWrapper(Collection _values)
public
Scalar getAt(int index)
public
Scalar remove(int index)
public void remove(
Scalar value)
public Iterator scalarIterator()
public int size()
public void sort(Comparator compare)
public String toString()