/** * Constructs a new {@link OptionsByType} based on another {@link OptionsByType} * * @param optionsByType the {@link OptionsByType}s * * @return a new {@link OptionsByType} containing the {@link Option}s in the * specified {@link OptionsByType} parameter */ static OptionsByType of(OptionsByType optionsByType) { return new Options(optionsByType); }
/** * Constructs an empty {@link OptionsByType} collection. * * @return an empty {@link OptionsByType} collection */ static OptionsByType empty() { return new Options(); }
/** * Constructs an empty {@link OptionsByType} collection. * * @return an empty {@link OptionsByType} collection */ static OptionsByType empty() { return new Options(); }
/** * Constructs a new {@link OptionsByType} based on another {@link OptionsByType} * * @param optionsByType the {@link OptionsByType}s * * @return a new {@link OptionsByType} containing the {@link Option}s in the * specified {@link OptionsByType} parameter */ static OptionsByType of(OptionsByType optionsByType) { return new Options(optionsByType); }
/** * Constructs a new {@link OptionsByType} based on the specified {@link Option}s. * * @param options the {@link Option}s * * @return an {@link OptionsByType} */ @SafeVarargs static OptionsByType of(Option... options) { return new Options(options); }
/** * Constructs a new {@link OptionsByType} based on the specified {@link Option}s. * * @param options the {@link Option}s * * @return an {@link OptionsByType} */ @SafeVarargs static OptionsByType of(Option... options) { return new Options(options); }