public interface Delta
A Delta is able to encompass an arbitrary amount of change.
To illustrate, a delta that encodes only, for example, addition and deletion of child nodes (in the tree protocol), does not follow this guideline: the deltas are too fine-grained. While it should be possible to encode these atomic operations, it must also be possible to encode larger operations, such as addition or pruning of a whole subtree, or modification of attribute over an arbitrary collection of nodes.
The reason for this is partly performance (it reduces the number of objects that are passed across channels, a real concern in a large visualization), but mostly a design sensibility that we encourage you to absorb. Don't think in terms of primitive operations on data, think in terms gross transformations on that data. Your life will be better, you will feel more at ease with yourself, and your cat will thank you.
Modifier and Type | Method and Description |
---|---|
Object |
getSource()
Get the very first originating Pod of this delta.
|
Object getSource()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.