注解常量

xiaoxiao2021-02-28  102

注解常量 @IntDef({ TaskStatus.UN_KNOW, TaskStatus.UN_START, TaskStatus.PROGRESSING, TaskStatus.COMPLETED }) @Retention(RetentionPolicy.SOURCE) public @interface TaskStatus { int UN_KNOW = -1; int UN_START = 0; int PROGRESSING = 1; int COMPLETED = 2; }
转载请注明原文地址: https://www.6miu.com/read-50048.html

最新回复(0)