The short explanation is that there is an existing enum that I would like to add more elements to, without modifying the original. I was using 'extends' as an illustration of the idea , I didn't intend to restrict myself to the keyword.
intend to restrict onself to sth
最新推荐文章于 2022-06-02 09:52:48 发布