/** * Returns a new ValueEditor that holds the given value. * * @param value a data object of type T * @return a SimpleEditor instance holding the given value */ public static <T> SimpleEditor<T> of(T value) { return new SimpleEditor<T>(value); }
/** * Returns a new ValueEditor that holds a {@code null} value. * * @return a SimpleEditor instance holding a {@code null} value */ public static <T> SimpleEditor<T> of() { return new SimpleEditor<T>(null); }
/** * Returns a new ValueEditor that holds a {@code null} value. * * @return a SimpleEditor instance holding a {@code null} value */ public static <T> SimpleEditor<T> of() { return new SimpleEditor<T>(null); }
/** * Returns a new ValueEditor that holds the given value. * * @param value a data object of type T * @return a SimpleEditor instance holding the given value */ public static <T> SimpleEditor<T> of(T value) { return new SimpleEditor<T>(value); }
/** * Returns a new ValueEditor that holds a {@code null} value. * * @return a SimpleEditor instance holding a {@code null} value */ public static <T> SimpleEditor<T> of() { return new SimpleEditor<T>(null); }
/** * Returns a new ValueEditor that holds the given value. * * @param value a data object of type T * @return a SimpleEditor instance holding the given value */ public static <T> SimpleEditor<T> of(T value) { return new SimpleEditor<T>(value); }