How to implement Enum with mutable members, comparable and hashable by their index
I am writing a class to represent sequential stages of an industrial process, composed of ADMISSION
, PROCESSING
, QC
and DELIVERY
stages.
I am writing a class to represent sequential stages of an industrial process, composed of ADMISSION
, PROCESSING
, QC
and DELIVERY
stages.