public float getKeyAsFloat(int index) throws IOException {
        if (index >= structure.keySizes.size()) {
            throw new IOException("Index " + index + " is out of range.");
        }

        return Bytes.toFloat(key, structure.keyByteOffsets.get(index));
    }
public float getKeyAsFloat ( int index ) throws IOException { if ( index >= structure . keySizes . size ( ) ) { throw new IOException ( "Index " + index + " is out of range." ) ; } return Bytes . toFloat ( key , structure . keyByteOffsets . get ( index ) ) ; }
Returns the key belonging to the given field as Int

@param index
the index of the requested field
@return the requested value
@throws IOException