/** * Construct an OptionalFieldEditor backed by the given sub-Editor. * * @param <T> The type of data being managed * @param <E> The type of Editor * @param subEditor the sub-Editor that will be attached to the Editor * hierarchy * @return a new instance of OptionalFieldEditor */ public static <T, E extends Editor<? super T>> OptionalFieldEditor<T, E> of( E subEditor) { return new OptionalFieldEditor<T, E>(subEditor); }
/** * Construct an OptionalFieldEditor backed by the given sub-Editor. * * @param <T> The type of data being managed * @param <E> The type of Editor * @param subEditor the sub-Editor that will be attached to the Editor * hierarchy * @return a new instance of OptionalFieldEditor */ public static <T, E extends Editor<? super T>> OptionalFieldEditor<T, E> of( E subEditor) { return new OptionalFieldEditor<T, E>(subEditor); }
/** * Construct an OptionalFieldEditor backed by the given sub-Editor. * * @param <T> The type of data being managed * @param <E> The type of Editor * @param subEditor the sub-Editor that will be attached to the Editor * hierarchy * @return a new instance of OptionalFieldEditor */ public static <T, E extends Editor<? super T>> OptionalFieldEditor<T, E> of( E subEditor) { return new OptionalFieldEditor<T, E>(subEditor); }