9.5. Exampledownload PDF 以下代码采用缓存并返回映射,其中包含其值包含字符串"JBoss"的所有缓存条目 Map<Object, String> jbossValues = cache.entrySet().stream() .filter(e -> e.getValue().contains("JBoss")) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));前一个下一个