public static int testb(int b){
  byte x=(byte)b;
  int y=x & 0xff;
  if (y == 0xff) {
    y=(int)(System.currentTimeMillis() >> 32);
  }
  return y;
}

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