📅  最后修改于: 2022-03-11 14:52:11.510000             🧑  作者: Mango
public Map.Entry getSomePair(){
return Map.entry<>("Hello","World");
}
public Map.Entry getSomePairJava8(){
return new AbstractMap.SimpleEntry<>("Hello","World");
}