我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题15. 二进制中1的个数
与以下题目相同
前往
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 191. 位1的个数
题目
编写一个函数,输入是一个
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 343. 整数拆分
与以下题目相同
前往:LeetC
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题14- I. 剪绳子
与以下题目相同
前往:L
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题14- II. 剪绳子 II
题目
给你一根长
框架就是复杂的留给自己,简单的留给码农,像写hello world一样简单
早年开发Spring AOP程序时,都是xml文件配置aop(现在不流行xml了,注解@EnableAspectJAutoProxy大行其道),然后框架解析,
例如:
它这种配置是如何解析的,拦截方法怎么拿到
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题06. 从尾到头打印链表
题目
输入一个链表的
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题05. 替换空格
题目
请实现一个函数,把字符
1 简介
Nginx是一个非常强大和流行的高性能Web服务器。本文讲解Nginx如何整合https并将http重定向到https。
https相关文章如下:
(1)Springboot整合https原来这么简单
(2)HTTPS之密钥知识与密钥工具Keytool和Keystore-Expl
我的LeetCode:https://leetcode-cn.com/u/ituring/
我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii
LeetCode 面试题04. 二维数组中的查找
题目
在一个 n *
一、准备工作
在这里我先简单记录下如何实现一个aop:
AOP:【动态代理】
指在程序运行期间动态的将某段代码切入到指定方法指定位置进行运行的编程方式;
1、导入aop模块;Spring AO
如果不想在世界上虚度一生,那就要学习一辈子。 ——高尔基
0 前言
延迟元素的无边界阻塞队列,在该队列中,仅当元素的延迟到期时才可以使用它. 队首是该 Delayed 元素,其延迟在过去最远过期. 如果没有延迟已经过期,就没有head, poll将返回null. 当元素的get
本文主要讲解 springData Jpa 入门相关知识, 了解JPA规范与Jpa的实现,搭建springboot+dpringdata jpa环境实现基础增删改操作,适合新手学习,老鸟绕道~
1. ORM 概论
ORM(Object-Relational Mapping)顾名思义就是表示
一、类初始化
1、一个类要创建实例需要先加载并初始化该类
(1)main方法所在的类需要先加载和初始化
class Father{
private static int i = method();
private static int method() {
Spring 在哪些情况下会出现循环依赖错误?哪些情况下能自身解决循环依赖,又是如何解决的?本文将介绍笔者通过本地调试 Spring 源码来观察循环依赖的过程。
1. 注解属性注入
首先本地准备好一份 Spring 源码,笔者是从 Github 上 Clone 下来的一份,然后用 IDE
原文Understanding How Graal Works - a Java JIT Compiler Written in Java,讲了jvmci和ideal graph的基本概念以及一些优化技术,很不错的一篇文章,开头结尾不太重要的部分已经省略,请见谅。
JIT编译器是什么
我敢
作者:张乎兴 来源:Dubbo官方博客
背景介绍
Dubbo Spring Boot 工程致力于简化 Dubbo RPC 框架在Spring Boot应用场景的开发。同时也整合了 Spring Boot 特性:
自动装配 (比如: 注解驱动, 自动装配等).
Productio
1. 策略模式原型举例
现在要实现一个算税策略,税计算类型有价内税和价外税,将来可能会增加新的税类型,初始设计类结构如下:
类职责TaxStrategy
税策略接口
InterTaxStrategy
价内税策略,负责计算价内税
OuterTaxStrategy
价外税策略,负责计
getRequestDispatcher()
getRequestDispatcher() 包含两个方法,分别是请求转发和请求包含。
RequestDispatcher rd = request.getRequestDispatcher("/MyServlet");
rd.forward(
添加国际化i18n语言配置:
# src/main/resources/i18n/login.properties
login.btn=登录
# src/main/resources/i18n/login_zh_CN.properties
login.btn=登录
# src/ma