4 ms·Declaring the new enum and implementing it are the boilerplate.by progval 10y agoDeclaring the new enum and implementing it are the boilerplate.