The java api code for BeFootInt