码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
java随机打乱集合顺序
public static void main(String[] args) { List intList = new ArrayList(); //汉字随机放入的位子 intList.add(1); intList.add(2); intList.add(3); intList.add(4); .... ...
分类:编程语言   时间:2017-10-17 15:13:35    阅读次数:277
web开发,http状态须知
HTTP状态url:http://tools.jb51.net/table/http_status_code 常见:200,请求成功。一般用于GET与POST请求 Code:304,未修改。所请求的资源未修改,服务器返回此状态码时,不会返回任何资源。客户端通常会缓存访问过的资源,通过提供一个头信息指 ...
分类:Web程序   时间:2017-10-17 15:11:32    阅读次数:213
MyBatis 作用域(Scope)和生命周期
SqlSessionFactoryBuilder 一旦创建了SqlSessionFactory,就不再需要它了。因此SqlSessionFactoryBuilder的最佳作用域是方法作用域(也就是局部方法变量)。 SqlSessionFactory SqlSessionFactory一旦被创建就会在 ...
分类:其他好文   时间:2017-10-17 15:10:48    阅读次数:157
[转]RDL(C) Report Design Step by Step 3: Mail Label
本文转自:http://www.cnblogs.com/waxdoll/archive/2006/09/02/493350.html Crystal Report在报表向导中提供了三种向导类型给用户进行选择——Standard、Cross-Tab和Mail Label,而Visual Studio/ ...
分类:其他好文   时间:2017-10-17 15:03:31    阅读次数:144
[LeetCode] 131. Palindrome Partitioning Java
题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For ex ...
分类:编程语言   时间:2017-10-17 15:02:23    阅读次数:163
Java开发中的编码分析__GET&POST
GET方式提交参数分析 code.jsp DoGetServlet 1 <Connector connectionTimeout="20000" port="88" protocol="HTTP/1.1" redirectPort="8443"> 1 <Connector connectionTim ...
分类:编程语言   时间:2017-10-17 15:01:48    阅读次数:235
java可变参数长度
一: 在python中 有可变参数*args和万能参数**args参数分别为列表和字典。在java中也有类似的可变参数列表。不过传递进去的是可变参数数组。 其中printf()就是可变参数列表方法。我们看下源码; 可变参数的语法形式:object ... args用三个句点来表示这个方法接收的参数是 ...
分类:编程语言   时间:2017-10-17 12:44:21    阅读次数:249
FastJson---高性能JSON开发包
SVN:http://code.alibabatech.com/svn/fastjson/trunk/WIKI:http://code.alibabatech.com/wiki/display/FastJSON/Home pom.xml文件中加入依赖依赖: <dependency> <groupId ...
分类:Web程序   时间:2017-10-17 12:40:40    阅读次数:150
二分查找
#include #define N 6 int f(int a[],int low,int high,int x) { int mid =(low+high)/2 ; if (low>high) return -1 ; else if (a[mid]==x) return mid ; else i... ...
分类:其他好文   时间:2017-10-17 12:36:17    阅读次数:148
种花 [JZOJ4726] [可撤销贪心]
Description 经过三十多个小时的长途跋涉,小Z和小D终于到了NOI现场——南山南中学。一进校园,小D就被花所吸引了(不要问我为什么),遍和一旁的种花园丁交(J)流(L)了起来。 他发现花的摆放竟有如此奥秘:圆形广场共有 N 个种花的位置,顺时针编号1到N。并且每个位置都有一个美观度ai , ...
分类:其他好文   时间:2017-10-17 12:31:52    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!