summaryrefslogtreecommitdiffstats
path: root/docs/ncmp-cmhandle-querying.rst
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2023-05-03 15:07:34 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2023-05-04 09:59:58 +0100
commitd701ea2c8a9d437846a3c08c103c8b68eaff7334 (patch)
treef16a7053a7419ddeddd3d71a6b1273e860b3fb21 /docs/ncmp-cmhandle-querying.rst
parent08a47195fb3882e396b2dd01b01afa5da42255fb (diff)
Sensible equals and hashCode for FragmentEntity (CPS-1664 #1)
Include Anchor and Xpath in equals and hashCode methods for FragmentEntity. (This also requires adding equals and hashCode for AnchorEntity and DataspaceEntity.) The combination of dataspace, anchor, and xpath uniquely identify a fragment/datanode. This allows FragmentEntity objects returned from query across anchors to be stored in Set collections. Performance was observed to be unaffected by the change. Issue-ID: CPS-1664 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2c7e3957e392af36f5230d08c9bbd550f44e7444
Diffstat (limited to 'docs/ncmp-cmhandle-querying.rst')
0 files changed, 0 insertions, 0 deletions