/** * @param key * key to set. * @return new key value initialized with default value. * @throws IllegalArgumentException * if key is blank. */ public KeyValue<T> create( final String key ) throws IllegalArgumentException { return new KeyValue<T>( key, this.defaultValue ); }