private double getElementRank ( String symbol ) { for ( int f = 0 ; f < rankedSymbols . length ; f ++ ) { if ( rankedSymbols [ f ] . equals ( symbol ) ) { return symbolRankings [ f ] ; } } IIsotope isotope = isotopeFac . getMajorIsotope ( symbol ) ; if ( isotope . getMassNumber ( ) != null ) { return ( ( double ) 800000 - isotope . getMassNumber ( ) ) ; } return 800000 ; }
Gets the element rank for a given element symbol as given in Bremser s publication .