I am trying to filter a ConcurrentHashMap<String, LinkedList<String>> by the size of the LinkedList<String>.
In other words, I want to filter out elements in ConcurrentHashMap where the size of LinkedList<String> is greater than 4. How would I get it done by Java 8?