public static SimpleXid createRandom(){
  int formatId=next.getAndIncrement();
  byte[] bq=new byte[MAXBQUALSIZE];
  MathUtils.randomBytes(bq);
  byte[] gt=new byte[MAXGTRIDSIZE];
  MathUtils.randomBytes(gt);
  return new SimpleXid(formatId,bq,gt);
}

public static SimpleXid createRandom ( ) { int formatId = next . getAndIncrement ( ) ; byte [ ] bq = new byte [ MAXBQUALSIZE ] ; MathUtils . randomBytes ( bq ) ; byte [ ] gt = new byte [ MAXGTRIDSIZE ] ; MathUtils . randomBytes ( gt ) ; return new SimpleXid ( formatId , bq , gt ) ; }
create a new random xid .
