public static String getPhase ( String symbol ) { Elements e = Elements . ofString ( symbol ) ; for ( Phase p : Phase . values ( ) ) if ( p . contains ( e ) ) return p . name ( ) ; return null ; }
Get the phase of the element .