private static Set<Object> asSet(final Object o) {
      return uncheckedCast(o);
    }
Helper method to register the filters.
geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java