public AlertProperties subset(String... keys) { AlertProperties sub = new AlertProperties(); for (String key : keys) sub.putProperty(key, getProperty(key)); return sub; }