public class ArrayPropertyDelegate extends Object implements PropertyDelegate
PropertyDelegate
that is implemented using an int array.Modifier and Type | Field and Description |
---|---|
private int[] |
data |
Constructor and Description |
---|
ArrayPropertyDelegate(int size) |
public int get(int index)
get
in interface PropertyDelegate
public void set(int index, int value)
set
in interface PropertyDelegate
public int size()
size
in interface PropertyDelegate