后端技术

Redis封装

/* * Copyright 2016-2021 Pnoker. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...

RXTX实现JAVA串口编程

准备工作 1.1下载文件 首先下载RXTX库对应的资源文件。下载地址 http://fizzed.com/oss/rxtx-for-java 大家根据自己的系统下载对应的文件。 也可点击下面连接直接下载 mfz-rxtx-2.2-20081207-win-x8...

Java写的获取日期工具类

1)获取当天的开始时间2)获取当天的结束时间3)获取昨天的开始时间4)获取昨天的结束时间5)获取明天的开始时间6)获取明天的结束时间7)获取本周的开始时间8)获取本周的结束时间9)获取上周的开始时间10)获...

shiro注解权限控制-5个权限注解

RequiresAuthentication: 使用该注解标注的类,实例,方法在访问或调用时,当前Subject必须在当前session中已经过认证。 RequiresGuest: 使用该注解标注的类,实例,方法在访问或调用时,当前Subje...