02 2023 档案

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

点击右上角即可分享
微信分享提示