int getScore(String name) { // 先在Map中查找: Integer score = this.cache.get(name); if (score == null) { // TODO: cache.put(name, findInList(name)); } score = this.cache.get(name); return score == null ? -1 : score;}
Sign in to make a reply
张丫丫呀呀呀