synchronized void remove(Integer v) {
                List<Integer> snapshot = list.get();
                if (snapshot.contains(v)) {
                    list.set(snapshot.stream().filter((item) -> !v.equals(item)).toList());
                }
            }
Helper class to match a host pattern with node to use.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/ContentPolicy.java