/** * Gets the value at index from the array. * * @param index the index of the value to get. * @return the value at index in the array as as String. * @throws Exception if index is out of bounds. */ public String value(int index) throws Exception { return actualValue(index); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a String. * @throws Exception if indexOfIndex is out of bounds. */ public String valueSparse(int indexOfIndex) throws Exception { return actualValue(indexOfIndex); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a String. * @throws Exception if indexOfIndex is out of bounds. */ public String valueSparse(int indexOfIndex) throws Exception { return actualValue(indexOfIndex); }
/** * Gets the value at index from the array. * * @param index the index of the value to get. * @return the value at index in the array as as String. * @throws Exception if index is out of bounds. */ public String value(int index) throws Exception { return actualValue(index); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a double. * @throws Exception if indexOfIndex is out of bounds. */ public double valueSparseDouble(int indexOfIndex) throws Exception { return Double.parseDouble(actualValue(indexOfIndex)); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as an int. * @throws Exception if indexOfIndex is out of bounds. */ public int valueSparseInt(int indexOfIndex) throws Exception { return Integer.parseInt(actualValue(indexOfIndex)); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a float. * @throws Exception if indexOfIndex is out of bounds. */ public float valueSparseFloat(int indexOfIndex) throws Exception { return Float.parseFloat(actualValue(indexOfIndex)); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a double. * @throws Exception if indexOfIndex is out of bounds. */ public double valueSparseDouble(int indexOfIndex) throws Exception { return Double.parseDouble(actualValue(indexOfIndex)); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as a float. * @throws Exception if indexOfIndex is out of bounds. */ public float valueSparseFloat(int indexOfIndex) throws Exception { return Float.parseFloat(actualValue(indexOfIndex)); }
/** * Gets the value at indexOfIndex from the array. Does the same as value() if * this array is not sparse. * * @param indexOfIndex the index of the index of the value to get. * @return a value from the array as an int. * @throws Exception if indexOfIndex is out of bounds. */ public int valueSparseInt(int indexOfIndex) throws Exception { return Integer.parseInt(actualValue(indexOfIndex)); }