I would like to observe list changes in EventList
with ListEvent
in Glazed Lists.
Surprisingly, methods getNewValue()
also also as getOldValue()
are deprecated without no any compos explanation.
Why?
How to know, which elements are added or removed then?
It's not ideal because deprecation is reserved for old code/approaches which are being retired. In this instance it would have better to annotate as "experimental" because what the developer is trying to say is "be careful, this is new and may change. Don't rely on it yet."
See the description in the docs (I've emphasised the key line):
I don't think Javadoc has any annotation for experimental code, so the developer has chosen to use deprecation to warn users of the library.