private HashMap < String , Integer > getWisley_1000 ( ) { HashMap < String , Integer > map = new HashMap < String , Integer > ( ) ; map . put ( "C" , 78 ) ; map . put ( "H" , 126 ) ; map . put ( "N" , 20 ) ; map . put ( "O" , 27 ) ; map . put ( "P" , 9 ) ; map . put ( "S" , 14 ) ; map . put ( "F" , 34 ) ; map . put ( "Cl" , 12 ) ; map . put ( "Br" , 8 ) ; map . put ( "Si" , 14 ) ; return map ; }
Get the map linking the symbol of the element and number maximum of occurrence . For the analysis with the Wisley database and mass lower than 1000 Da .