Java – How to pass parameters to anonymous class? | Hacker News Reader