/** * If the object at row # row is a byte array, returns the first item in the array. else - returns * a representation of this object as a bytes array. * * @param row the row number */ public byte getByte(int row) { Object obj = elements.get(row); if (obj != null && isDataNumeric(row)) { return SparseByteColumn.toByte(obj); } return SparseDefaultValues.getDefaultByte(); }