/** *{@inheritDoc} */ @Override public Collection<IOSetting> getSettings() { return settings.getSettings(); }
/** *{@inheritDoc} */ @Override public Collection<IOSetting> getSettings() { return settings.getSettings(); }
/** * Compatibility method generates an array of ISetting objects. This method * wraps a call to {@link Collection#toArray(Object[])}} and so is used the same way. * Note: it is preferable to use the collection's accessor {@link #getSettings()} * * Usage: <pre>{@code * IOSetting[] settings = manager.toArray(new IOSetting[0]); * }</pre> * * @param c empty array of type to generate * * @return new fixed array of the settings managed by the manager * * @see #getSettings() */ public T[] toArray(T[] c) { return (T[]) getSettings().toArray(c); }
/** * Compatibility method generates an array of ISetting objects. This method * wraps a call to {@link Collection#toArray(Object[])}} and so is used the same way. * Note: it is preferable to use the collection's accessor {@link #getSettings()} * * Usage: <pre>{@code * IOSetting[] settings = manager.toArray(new IOSetting[0]); * }</pre> * * @param c empty array of type to generate * * @return new fixed array of the settings managed by the manager * * @see #getSettings() */ public T[] toArray(T[] c) { return (T[]) getSettings().toArray(c); }