摘要:
几种常用的枚举 一、直接写成员 public enum EnumResultType { ex,notMatch,success,busy } 成员取出是用这种,值为下标 EnumResultType.枚举成员名称.ordinal() 二、K-V的枚举 package com.kaize.admin 阅读全文
posted @ 2023-02-22 13:36
Sjh_code
阅读(27)
评论(0)
推荐(0)
摘要:
Long user = ~(Long.parseLong(userId)-1); Math.abs(userId) 阅读全文
posted @ 2023-02-22 11:19
Sjh_code
阅读(43)
评论(0)
推荐(0)