We can achieve the same result in Java 8 or later using the removeIf operation: foodItemTypeMap.entrySet() .removeIf(entry -> entry.
確定! 回上一頁