public final T getCellData(final int index) { ...
# announcements
d
public final T getCellData(final int index) { ObservableValue<T> result = getCellObservableValue(index); return result == null ? null : result.getValue(); } public final T getCellData(final S item) { ObservableValue<T> result = getCellObservableValue(item); return result == null ? null : result.getValue(); }
s
@danko9 : why are you holding two implementations? isn’t the second one enough?
d
Hi, that code is from JavaFX.
I am just trying to use it.
r
Please wrap your code in ``` so it's easier to read
d
hmm, thanks