/** * Creates a new object initialized with the given values. * * @return new object initialized with the given values */ public static SetKey ofUnset() { return new SetKey(null); } }
/** * Creates a new object initialized with the given values. * * @param key initial value for the {@link Zone#getKey()} property * @return new object initialized with the given values */ public static SetKey of(@Nullable final String key) { return new SetKey(key); }