SyntaxFix
Write A Post
Hire A Developer
Questions
Map<String, String> nodeMap = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
That's really all you need.