nPrimesMore = Integer.parseInt(command);
} catch (NumberFormatException nfe) {
System.out.println("I'm extremely sorry, but I did not understand you. I'll assume one more prime.");
}
List<?> result = (List<?>)executor.exec(takeNListOfIntEntryPoint,
new Object[] {remainingPrimesCalValue, new Integer(nPrimesMore)});
//a java.util.List with 2 elements. The first is a java.util.List of nPrimesMore primes. The second is a CalValue
//containing the remaining primes (as a lazy internal CAL list).
List<?> nextNPrimes = (List<?>)result.get(0);