question: encode from geohash string to the geohash based long format lon/lat interleaved , 4 least significant bits = level concode_field_sep int PRECISION concode_elem_sep short MORTON_OFFSET concode_elem_sep String BASE_32_STRING concode_elem_sep char[] BASE_32 concode_field_sep long fromMorton concode_elem_sep char encode concode_elem_sep String stringEncode concode_elem_sep String stringEncode concode_elem_sep String stringEncode concode_elem_sep Collection<? extends CharSequence> neighbors concode_elem_sep long mortonEncode concode_elem_sep long mortonEncode concode_elem_sep Rectangle bbox concode_elem_sep double decodeLongitude concode_elem_sep String stringEncodeFromMortonLong concode_elem_sep String stringEncodeFromMortonLong concode_elem_sep double decodeLatitude concode_elem_sep String neighbor concode_elem_sep E addNeighbors concode_elem_sep E addNeighbors
target: long function ( final String arg0 ) { int loc0 = arg0 . length ( ) - 1 ; long loc1 ; long loc2 = 0L ; for ( char loc3 : arg0 . toCharArray ( ) ) { loc1 = ( long ) ( BASE_32_STRING . indexOf ( loc3 ) ) ; loc2 |= ( loc1 << ( loc0 -- * 5 ) ) ; } return ( loc2 << 4 ) | arg0 . length ( ) ; }