how to return tuple in java code example
Example: java return tuple
public Map.Entry<String,String> getSomeTuple(){
return Map.entry<>("Hello","World");
}
public Map.Entry<String,String> getSomeTupleJava8(){
return new AbstractMap.SimpleEntry<>("Hello","World");
}