public char getScalarChar ( int recnum , StructureMembers . Member m ) { if ( m . getDataType ( ) != DataType . CHAR ) throw new IllegalArgumentException ( "Type is " + m . getDataType ( ) + ", must be char" ) ; Array data = m . getDataArray ( ) ; return data . getChar ( recnum * m . getSize ( ) ) ; // gets first one in the array }
Get scalar member data of type char .