A {@link TableComparatorChooser} will be garbage collected without a call to{@link #dispose()}, but not before its source {@link EventList} is garbagecollected. By calling {@link #dispose()}, you allow the {@link TableComparatorChooser}to be garbage collected before its source {@link EventList}. This is necessary for situations where an {@link TableComparatorChooser} is short-lived butits source {@link EventList} is long-lived.
Warning: It is an error to call any method on a {@link TableComparatorChooser} after it has been disposed.
|
|