private boolean isMajorIsotope ( int number , int mass ) { try { IIsotope isotope = Isotopes . getInstance ( ) . getMajorIsotope ( number ) ; return isotope != null && isotope . getMassNumber ( ) . equals ( mass ) ; } catch ( IOException e ) { return false ; } }
Utility to determine if the specified mass is the major isotope for the given atomic number .