废弃 Enumeration 类

dev
ZhouXY108 2024-09-03 15:26:36 +08:00
parent 322ecf4db8
commit 7a744c8953
1 changed files with 8 additions and 1 deletions

View File

@ -32,8 +32,15 @@ import xyz.zhouxy.plusone.commons.annotation.StaticFactoryMethod;
/**
*
*
* <a href="https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/">Enumeration classes</a>
*
* @deprecated Enumeration .net C#
* Java
*/
public abstract class Enumeration<T extends Enumeration<T>> implements Comparable<T> {
@Deprecated
public abstract class Enumeration<T extends Enumeration<T>> // NOSONAR 暂不移除
implements Comparable<T> {
protected final int id;
protected final String name;