/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param values the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code values} or any elements of {@code values} are {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V[] values ) { for ( V each : values ) addDefaultValue( each ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param values the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code values} or any elements of {@code values} are {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V[] values ) { for ( V each : values ) addDefaultValue( each ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param values the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code values} or any elements of {@code values} are {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V[] values ) { for ( V each : values ) addDefaultValue( each ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param values the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code values} or any elements of {@code values} are {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V[] values ) { for ( V each : values ) addDefaultValue( each ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param values the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code values} or any elements of {@code values} are {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V[] values ) { for ( V each : values ) addDefaultValue( each ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param value the first in the set of default argument values for this spec's option * @param values the (optional) remainder of the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code value}, {@code values}, or any elements of {@code values} are * {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V value, V... values ) { addDefaultValue( value ); defaultsTo( values ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param value the first in the set of default argument values for this spec's option * @param values the (optional) remainder of the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code value}, {@code values}, or any elements of {@code values} are * {@code null} */ @SafeVarargs public final ArgumentAcceptingOptionSpec<V> defaultsTo( V value, V... values ) { addDefaultValue( value ); defaultsTo( values ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param value the first in the set of default argument values for this spec's option * @param values the (optional) remainder of the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code value}, {@code values}, or any elements of {@code values} are * {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V value, V... values ) { addDefaultValue( value ); defaultsTo( values ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param value the first in the set of default argument values for this spec's option * @param values the (optional) remainder of the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code value}, {@code values}, or any elements of {@code values} are * {@code null} */ public ArgumentAcceptingOptionSpec<V> defaultsTo( V value, V... values ) { addDefaultValue( value ); defaultsTo( values ); return this; }
/** * Specifies a set of default values for the argument of the option that this spec represents. * * @param value the first in the set of default argument values for this spec's option * @param values the (optional) remainder of the set of default argument values for this spec's option * @return self, so that the caller can add clauses to the fluent interface sentence * @throws NullPointerException if {@code value}, {@code values}, or any elements of {@code values} are * {@code null} */ @SafeVarargs public final ArgumentAcceptingOptionSpec<V> defaultsTo( V value, V... values ) { addDefaultValue( value ); defaultsTo( values ); return this; }