Make AbstractMetricState return AbstractMetricValues
PSA: I'd love to create a PR for this, but I was not able to locate org.somda.sdc.biceps.model.participant.AbstractMetricState
in the repo – maybe it's auto-generated?
To write more generic code as a user of your library, it'd be helpful if AbstractMetricState
s would have a method to get their AbstractMetricValue
. All sub-classes of AbstractMetricState
provide such a getter, but to access them one has to cast an AbstractMetricState
to each of those sub-classes.