码迷,mamicode.com
首页 >  
搜索关键字:java    ( 298062个结果
Scala学习笔记-9
package com.leegh.oopimport scala.io.Sourceimport java.io.PrintWriterimport java.io.File/** * @author Guohui Li */object FileOps { def main(args: Arr....
分类:其他好文   时间:2015-08-02 08:51:18    阅读次数:103
聊聊 Java 正则表达式 StackOverflowError 问题及其优化
正则可以看做一门 DSL,但它却应用极其广泛,可以轻松解决很多场景下的字符串匹配、筛选问题。同时呢有句老话: “ 如果你有一个问题,用正则表达式解决,那么你现在就有两个问题了。” Some people, when confro...
分类:编程语言   时间:2015-08-02 06:45:40    阅读次数:249
tomcat一些参数的理解
jvm参数的设置-server:一定要作为第一个参数,在多个CPU时性能佳-xms:初始化堆内存的大小-xmx:最大堆内存的大小-xx:PermSize:永久内存区初始化大小-xx:MaxPermSize:永久内存区最大大小-xx:MaxNewSize:新生成池最大大小-Xss:每个线程的Stack大小xms,xmx,MaxNewSize是..
分类:其他好文   时间:2015-08-02 06:44:11    阅读次数:106
hdu1209(Clock)
点击打开hdu1209 Problem Description There is an analog clock with two hands: an hour hand and a minute hand. The two hands form an angle. The angle is measured as the smallest angle between the two ha...
分类:其他好文   时间:2015-08-02 06:28:04    阅读次数:165
老生常谈,传引用还是传值
按引用传递还是按值传递?你会swap吗?...
分类:其他好文   时间:2015-08-02 06:24:29    阅读次数:125
【LeetCode-面试算法经典-Java实现】【066-Plus One(加一)】
【066-Plus One(加一)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a non-negative number represented as an array of digits, plus one to the number.   The digits are stored such that the most significant di...
分类:编程语言   时间:2015-08-02 06:24:03    阅读次数:159
【LeetCode-面试算法经典-Java实现】【067-Add Binary(二进制加法)】
【067-Add Binary(二进制加法)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given two binary strings, return their sum (also a binary string).   For example,   a = "11"   b = "1"   Return "100" 题目大意  给定两个二进制的字符串...
分类:编程语言   时间:2015-08-02 06:23:42    阅读次数:194
【LeetCode-面试算法经典-Java实现】【064-Minimum Path Sum(最小路径和)】
【064-Minimum Path Sum(最小路径和)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers...
分类:编程语言   时间:2015-08-02 06:23:02    阅读次数:928
杭电1795--The least one
The least oneTime Limit: 9000/3000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 534Accepted Submission(s): 203Problem...
分类:其他好文   时间:2015-08-02 06:22:20    阅读次数:131
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!