How to aggregate data in Java without a database | Hacker News Reader