long function ( int arg0 , int arg1 ) { if ( arg0 < 0 ) { throw new IllegalArgumentException ( 0 + "srini_string" + arg0 ) ; } if ( arg1 < 0 ) { throw new IllegalArgumentException ( 0 + "srini_string" + arg1 ) ; } long loc0 = 0 ; for ( int loc1 = 0 ; loc1 < 32 ; loc1 ++ ) { loc0 |= ( arg0 & ( 1L << loc1 ) ) << loc1 ; loc0 |= ( arg1 & ( 1L << loc1 ) ) << ( loc1 + 1 ) ; } return loc0 ; }
convert the two-dimensional value into a one-dimensional scalar value . this is done by interleaving the bits of the values . each values must be between 0 including and the maximum value for the given number of dimensions getmaxvalue , excluding . to normalize values to this range , use the normalize function . concode_field_sep MultiDimension INSTANCE concode_field_sep int compare concode_elem_sep int getMaxValue concode_elem_sep void combineEntries concode_elem_sep int findMiddle concode_elem_sep int deinterleave concode_elem_sep void addMortonRanges concode_elem_sep long[][] getMortonRanges concode_elem_sep int getSize concode_elem_sep String generatePreparedQuery concode_elem_sep int normalize concode_elem_sep ResultSet getResult concode_elem_sep MultiDimension getInstance concode_elem_sep int getBitsPerValue concode_elem_sep int roundUp