Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract class Foo {
- Result readOneValue(Value v) {
- Value[] vv = new Value[] { v };
- return readMoreValues(vv)[0];
- }
- Result[] readMoreValues(Value[] v) {
- Result[] ret = new Result[v.length];
- for(int idx=0; idx<v.length; idx++) {
- ret[idx] = readOneValue(v);
- }
- return ret;
- }
- }
Add Comment
Please, Sign In to add comment