This returns the superclass's element data array, which may be longer
than the actual number of elements. Therefore, the objects at the end
of the array could be null. Care should be taken to avoid these when
looping, by using the elementCount returned by getCount().
public int getCount()
This returns the superclass's element count, which is the actual number
of elements that are populated in the array returned by getData().
Use this number for the maximum element count when looping through the
element data, to avoid grabbing the null elements at the end of the
element data array.