一、异常信息 方法:POST@ echostr是否存在 :false java.lang.IllegalArgumentException: 20 > -367029533 at java.util.Arrays.copyOfRange(Arrays.java:3519) at com.qq.wei ...
分类:
微信 时间:
2018-03-06 13:41:51
阅读次数:
1626
1 package com.algorithm.java.blueBirdge; 2 3 import java.lang.reflect.Array; 4 import java.util.ArrayList; 5 import java.util.Arrays; 6 import java.ut... ...
分类:
编程语言 时间:
2018-03-04 17:15:03
阅读次数:
571
? Java 5.0 在 java.util.concurrent 包中提供了多种并发容器类来改进同步容器 的性能。 ? ConcurrentHashMap 同步容器类是Java 5 增加的一个线程安全的哈希表。对 与多线程的操作,介于 HashMap 与 Hashtable 之间。内部采用“锁分段 ...
分类:
其他好文 时间:
2018-03-03 18:11:30
阅读次数:
111
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 sh ...
分类:
编程语言 时间:
2018-03-02 10:21:08
阅读次数:
186
public class LambdaPrac { /** * 迭代 */ @Test public void demo1(){ List list = Arrays.asList("jinx","timo","ez"); list.forEach(n -> System.out.println(n... ...
分类:
其他好文 时间:
2018-03-01 20:15:52
阅读次数:
191
题目链接:http://codeforces.com/problemset/problem/893/E 题意: 共q组数据(q <= 10^5),每组数据给定x,y(x,y <= 10^6)。 问你有多少种长度为y,乘积为x的整数数列。(可以有负数) 题解: 首先考虑数列只有正整数的情况。 将x分解 ...
分类:
其他好文 时间:
2018-02-27 21:31:35
阅读次数:
280
package thread.syn; import java.util.Arrays; import java.util.concurrent.locks.ReentrantLock; public class Bank { private final double[] accounts; pri... ...
分类:
其他好文 时间:
2018-02-24 19:33:52
阅读次数:
202
package thread.syn2; import java.util.Arrays; public class Bank { private final double[] accounts; public Bank(int n,double initialBalance){ accounts ... ...
分类:
其他好文 时间:
2018-02-24 19:28:15
阅读次数:
190
package com.myz.util; import static org.junit.Assert.*; import java.util.Arrays; import java.util.Collection; import org.junit.Test; import org.junit.... ...
分类:
其他好文 时间:
2018-02-24 14:58:42
阅读次数:
176