1 package tim.prune.function.edit;
3 import java.util.ArrayList;
6 * Class to hold a list of field edits
8 public class FieldEditList
10 private ArrayList<FieldEdit> _editList = new ArrayList<FieldEdit>();
14 * Add an edit to the list
15 * @param inEdit FieldEdit
17 public void addEdit(FieldEdit inEdit)
20 _editList.add(inEdit);
24 * @return number of edits in list
26 public int getNumEdits()
28 return _editList.size();
32 * Get the edit at the specified index
33 * @param inIndex index to get, starting at 0
36 public FieldEdit getEdit(int inIndex)
38 return _editList.get(inIndex);