public Light get(int num) {
        if (num >= listSize || num < 0)
            throw new IndexOutOfBoundsException();

        return list[num];
    }
@param num the zero-based index of the light to be accessed (&ge;0)
@return the light at the given index.
@throws IndexOutOfBoundsException If the given index is outside bounds.
jme3-core/src/main/java/com/jme3/light/LightList.java