public class MArray extends MCollection
Constructor and Description |
---|
MArray() |
Modifier and Type | Method and Description |
---|---|
boolean |
append(Object value) |
boolean |
clear() |
long |
count() |
void |
encodeTo(FLEncoder enc) |
MValue |
get(long index)
Returns a reference to the MValue of the item at the given index.
|
FLArray |
getBaseArray() |
void |
initAsCopyOf(MArray array,
boolean isMutable) |
void |
initInSlot(MValue mv,
MCollection parent) |
boolean |
insert(long index,
Object value) |
boolean |
remove(long index) |
boolean |
remove(long start,
long num) |
boolean |
set(long index,
Object value) |
getContext, hasMutableChildren, initAsCopyOf, isMutable, isMutated
public void initInSlot(MValue mv, MCollection parent)
public void initAsCopyOf(MArray array, boolean isMutable)
public long count()
public FLArray getBaseArray()
public MValue get(long index)
public boolean set(long index, Object value)
public boolean insert(long index, Object value)
public boolean append(Object value)
public boolean remove(long start, long num)
public boolean remove(long index)
public boolean clear()
public void encodeTo(FLEncoder enc)