📅  最后修改于: 2022-03-11 14:52:18.807000             🧑  作者: Mango
HashMap x = qu.remove();
// This "qu" is a queue which is returning a Hashmap
// of type HashMap this hashmap contains
// only one key,value pair
Node node = x.keySet().iterator().next();
// here we are extracting that "KEY" of hashMap into variable of Node type