/** * Method for removing all field properties out of this ObjectNode * <b>except</b> for ones specified in argument. * * @param fieldNames Fields to <b>retain</b> in this ObjectNode * * @return This ObjectNode (to allow call chaining) * * @since 1.6 */ public ObjectNode retain(String... fieldNames) { return retain(Arrays.asList(fieldNames)); }
/** * Method for removing all field properties out of this ObjectNode * <b>except</b> for ones specified in argument. * * @param fieldNames Fields to <b>retain</b> in this ObjectNode * * @return This ObjectNode (to allow call chaining) * * @since 1.6 */ public ObjectNode retain(String... fieldNames) { return retain(Arrays.asList(fieldNames)); }
/** * Method for removing all field properties out of this ObjectNode * <b>except</b> for ones specified in argument. * * @param fieldNames Fields to <b>retain</b> in this ObjectNode * * @return This ObjectNode (to allow call chaining) * * @since 1.6 */ public ObjectNode retain(String... fieldNames) { return retain(Arrays.asList(fieldNames)); }
/** * Method for removing all field properties out of this ObjectNode * <b>except</b> for ones specified in argument. * * @param fieldNames Fields to <b>retain</b> in this ObjectNode * * @return This ObjectNode (to allow call chaining) * * @since 1.6 */ public ObjectNode retain(String... fieldNames) { return retain(Arrays.asList(fieldNames)); }
/** * Method for removing all field properties out of this ObjectNode * <b>except</b> for ones specified in argument. * * @param fieldNames Fields to <b>retain</b> in this ObjectNode * * @return This ObjectNode (to allow call chaining) * * @since 1.6 */ public ObjectNode retain(String... fieldNames) { return retain(Arrays.asList(fieldNames)); }