音乐 关注 标签
评论 参与 新评

随笔分类 -  200.JavaUtils

开发中常用的工具类使用
DelayQueue 订单限时支付实例
摘要:1.订单实体 package com.zy.entity; import java.util.Date; import java.util.concurrent.Delayed; import java.util.concurrent.TimeUnit; public class Order imp 阅读全文
posted @ 2019-03-21 14:39 ☠☚㊙☛☠ 阅读(182) 评论(0) 推荐(0) 编辑
setBit testBit权限管理
摘要:1、jdk7文档解释 public boolean testBit(int n) Returns true if and only if the designated bit is set. (Computes((this & (1<<n)) != 0).) Parameters:n - index 阅读全文
posted @ 2018-01-12 10:58 ☠☚㊙☛☠ 阅读(570) 评论(0) 推荐(0) 编辑
Java中的Calendar日历用法详解
摘要:第一部分 Calendar介绍 public abstract class Calendar implements Serializable, Cloneable, Comparable<Calendar> {} Calendar 可以看作是一个抽象类。 它的实现,采用了设计模式中的工厂方法。表现在 阅读全文
posted @ 2017-07-26 17:17 ☠☚㊙☛☠ 阅读(1778) 评论(0) 推荐(1) 编辑
Java泛型 E、T、K、V、N
摘要:中的标记符含义: E - Element (在集合中使用,因为集合中存放的是元素) T - Type(Java 类) K - Key(键) V - Value(值) N - Number(数值类型) ? - 表示不确定的java类型 S、U、V - 2nd、3rd、4th types Object跟 阅读全文
posted @ 2016-12-21 11:41 ☠☚㊙☛☠ 阅读(338) 评论(0) 推荐(0) 编辑


Top
打赏

打赏

公众号