public static int tests(int b){
  short x=(short)b;
  int y=x & 0xffff;
  if (y == 0xffff) {
    y=(int)(System.currentTimeMillis() >> 32);
  }
  return y;
}

public static int tests ( int b ) { short x = ( short ) b ; int y = x & 0xffff ; if ( y == 0xffff ) { y = ( int ) ( System . currentTimeMillis ( ) > > 32 ) ; } return y ; }
tests if the if does work properly on short stamp .
