question: protected void parseGeometryString ( ) { int i = 0 ; byte [ ] bytes = geometryString . getBytes ( ) ; xgrav = new String ( bytes , 0 , 1 ) ; for ( i = 2 ; i < bytes . length ; i ++ ) { if ( ( bytes [ i ] == '-' ) || ( bytes [ i ] == '+' ) ) break ; } if ( i == bytes . length ) return ; ygrav = ( bytes [ i ] == '-' ) ? "-" : "+" ; xpos = Integer . parseInt ( new String ( bytes , 1 , i - 1 ) ) ; ++ i ; ypos = Integer . parseInt ( new String ( bytes , i , bytes . length - i ) ) ; }
target:  Parse X-like geometry string. 