
java
文章平均质量分 54
李文区
这个作者很懒,什么都没留下…
展开
-
dubbo反序列化为何类 全类型名称不一样会转成map
dubbo找不到类,序列化成map的源码阅读原创 2022-07-15 16:53:14 · 895 阅读 · 1 评论 -
spring源码分析环境的搭建和demo
1.spring源码分析环境的搭建和demo1.1下载源码环境搭建:sts/eclipse + jdk1.7 + windows + gradle将 https://github.com/spring-projects/spring-framework/tree/3.2.x下载下来1.2运行import-into-eclipse.bat可能会遇到的问题1.2.1 ...原创 2019-09-16 00:41:25 · 967 阅读 · 0 评论 -
必须声明元素类型 "typeAliases"
遇到这个错误,我自己百度的时候没有。找了一会,发现 不应该放在实体bean.xml中,而是放在总配置文件中SqlMapConfig.xml原创 2015-11-28 20:35:05 · 5908 阅读 · 0 评论 -
Spring Data JPA helloworld 最简单的demo
学习java data jpa的最简单demo原创 2016-05-13 17:57:01 · 562 阅读 · 0 评论 -
从n个数中选择m个数来 Java实现(顺序不固定)
public static List collect = new ArrayList(); public static void permutation(int[] a, int begin0, int begin, int mid1, int mid2, int end, int selectNum) { int[] temp = new int[selectNum]; Syste原创 2017-05-05 21:57:18 · 2878 阅读 · 0 评论 -
Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [1,原创 2017-12-25 15:53:31 · 169 阅读 · 0 评论 -
Longest Palindromic Substring
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.原创 2017-12-26 13:34:22 · 138 阅读 · 0 评论 -
Generate Parentheses的解法
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ "((()))", "(()())", "(())()", "()(())", "...原创 2018-04-01 20:53:47 · 243 阅读 · 0 评论 -
Divide Two Integers
Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator.Return the quotient after dividing dividend by divisor.The integer division should ...原创 2018-06-12 08:16:33 · 150 阅读 · 0 评论 -
Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Example:Input:[ 1->4->5, 1->3->4, 2->6]Output: 1->1->2->3->4->4...原创 2018-06-11 00:10:09 · 136 阅读 · 0 评论 -
Edit Distance 算法实现及其设计原理
题目:Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.You have the following 3 operations permitted on a word:Insert a character Delete a ...原创 2019-01-02 23:38:59 · 650 阅读 · 0 评论 -
Jxl对已有的excel追加数据或修改数据
java jxl 追加和修改原有excel原创 2015-12-14 13:05:27 · 1571 阅读 · 0 评论