What happens if you return this index and the caller tries to get data using it. You'll probably end up with an ArrayIndexOutOfBoundsException. How is that handled?