// create a new POCast each time since we
// maintain a state variable per POCast object
// indicating if cast is really required
POCast newOp = new POCast(new OperatorKey("", r.nextLong()), -1);
plan = constructPlan(newOp);
Tuple t = tf.newTuple();
Float input = new Float(r.nextFloat());
t.append(input);
plan.attachInput(t);
Result res = newOp.getNext(new Float(0));
if(res.returnStatus == POStatus.STATUS_OK) {