public static boolean isFloat(final byte[] qualifier, final int offset) {
    validateQualifier(qualifier, offset);
    if ((qualifier[offset] & Const.MS_BYTE_FLAG) == Const.MS_BYTE_FLAG) {
      return (qualifier[offset + 3] & Const.FLAG_FLOAT) == Const.FLAG_FLOAT; 
    } else {
      return (qualifier[offset + 1] & Const.FLAG_FLOAT) == Const.FLAG_FLOAT;
    }
  }
public static boolean isFloat ( final byte [ ] qualifier , final int offset ) { validateQualifier ( qualifier , offset ) ; if ( ( qualifier [ offset ] & Const . MS_BYTE_FLAG ) == Const . MS_BYTE_FLAG ) { return ( qualifier [ offset + 3 ] & Const . FLAG_FLOAT ) == Const . FLAG_FLOAT ; } else { return ( qualifier [ offset + 1 ] & Const . FLAG_FLOAT ) == Const . FLAG_FLOAT ; } }
Parses the qualifier to determine if the data is a floating point value.
4 bytes == Float, 8 bytes == Double
@param qualifier The qualifier to parse
@param offset An offset within the byte array
@return True if the encoded data is a floating point value
@throws IllegalArgumentException if the qualifier is null or the offset falls
outside of the qualifier array
@since 2.1