9. YOU have a DREAM
9/15
Query the data with
3 optional arguments
1) filter
2) limit
3) offset
Iterator<T> iter = …
iter = withFilter(iter);
iter = withLimit(iter);
iter = withOffset(iter);
return iter
WAIT...The order should be
1) limit
2) filter
3) offset
Iterator<T> iter = …
iter = withLimit(iter);
iter = withFilter(iter);
iter = withOffset(iter);
return iter
11. God could not be everywhere, and therefore
he made ENGINEER
11/15
WAIT...The order should be
1) limit
2) filter
3) offset
Query the data with
3 optional arguments
1) filter
2) limit
3) offset
15. Compiler is
your best
FRIEND
15/15
1. Unchecked type
2. The input argument is checked
java.lang.ClassCastException
(Dataset.Column cannot be cast to java.lang.Integer)