public class NumberUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Number |
getNumericMember(CompoundData compoundData,
int memberIndex)
Returns the numeric value of a compound member, which is of a
SimpleType . |
static Class<? extends Number> |
getNumericMemberType(CompoundType compoundData,
int memberIndex)
Returns the numeric type of a compound member, which is of a
SimpleType . |
public static Number getNumericMember(CompoundData compoundData, int memberIndex) throws IOException
SimpleType
.compoundData
- the compound.memberIndex
- the index of the compound member of interest.null
if the
compound member is not of a SimpleType
.IOException
- if an I/O error occurred.public static Class<? extends Number> getNumericMemberType(CompoundType compoundData, int memberIndex)
SimpleType
.compoundData
- the compound.memberIndex
- the index of the compound member of interest.null
if the
compound member is not of a SimpleType
.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.