java
狗_都不做前端
让自己变得强大
展开
-
app证书生成 和重新签名
加固后重新签名原创 2022-07-27 16:52:06 · 394 阅读 · 0 评论 -
java向 数组内追加元素
private static String[] insert(String[] strings, String string) { if (strings == null) { strings = new String[0]; } String[] resultString = new String[strings.length + 1]; for (int i = 0; i < strings.length; .原创 2022-03-02 09:55:16 · 3241 阅读 · 0 评论 -
java 拆分质因数
public static String rf(int num){ int basNumber = 2; while ((basNumber<num)&& ( num % basNumber!=0)){ basNumber++; } num = num/basNumber; if(basNumber>num){ return basNumber+""; ...原创 2020-10-21 15:57:03 · 167 阅读 · 0 评论 -
springboot xml 映射继承
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"><mapper namespace="org.springblade.modules.task.mapper.TaskMapper"> <!-- 通用查询映射结果 .原创 2020-10-20 13:32:32 · 398 阅读 · 1 评论 -
springBoot ApiFilter
@Componentpublic class ApiFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { System.out.println("time filter init"); } /** * 处理服务的请求时间 * @param servletRequest *原创 2020-10-14 13:40:11 · 271 阅读 · 0 评论 -
srpingboot接口 流程
srpingboot接口 流程Controller => Service => Impl => Dao => xmlTestEntity@Datapublic class TestEntity { private String testId; private String testName;}Controller 接口类@RestController@RequestMapping(value = "test")public class TestCont原创 2020-10-13 16:48:52 · 94 阅读 · 0 评论