码迷,mamicode.com
首页 >  
搜索关键字:put    ( 16494个结果
A Tour of Go Type conversions
The expressionT(v)converts the valuevto the typeT.Some numeric conversions:var i int = 42var f float64 = float64(i)var u uint = uint(f)Or, put more si...
分类:其他好文   时间:2014-10-26 21:06:03    阅读次数:264
JQuery中$.ajax()方法参数详解
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求超...
分类:Web程序   时间:2014-10-26 15:31:06    阅读次数:190
遍历Map的四种方法
public static void main(String[] args) { Map map = new HashMap(); map.put("1", "value1"); map.put("2", "value2"); map.put("3", "value3"); //第一种...
分类:其他好文   时间:2014-10-26 10:20:05    阅读次数:114
concurrent之BlockingQueue
BlockingQueue 是接口 阻塞队列常用的方法有:抛出异常特殊值阻塞超时插入add(e)offer(e)put(e)offer(e, time, unit)移除remove()poll()take()poll(time, unit)检查element()peek()不可用不可用实现它的类有:...
分类:其他好文   时间:2014-10-25 21:22:50    阅读次数:206
poj 1664 put apples
题目链接:http://poj.org/problem?id=1664思路:数据较小,考虑深度优先搜索搜索解空间。代码:#include using namespace std;int M, N, Count = 0;void dfs( int deep, int x, int put ){ ...
分类:移动开发   时间:2014-10-24 22:04:33    阅读次数:204
Fix network adapter not present problem in cloned CentOS
(You can find a lot of articles on this from the internet. I just put it here for my own record.)It's because the cloned system has the original mac a...
分类:Web程序   时间:2014-10-24 00:08:42    阅读次数:174
Restful 和 Jersey介绍(Web Service )
一:REST简介 REST 2000 年由 Roy Fielding 在博士论文中提出,他是 HTTP 规范 1.0 和 1.1 版的首席作者之一。 REST 中最重要的概念是资源(resources) ,使用全球 ID(通常使用 URI)标识。客户端应用程序使用 HTTP 方法(GET/ POST/ PUT/ DELETE )操作资源或资源集。 RESTful Web 服务是使用 HTTP...
分类:Web程序   时间:2014-10-23 22:43:22    阅读次数:315
javaVuser——javamail发送邮件+附件
调试过程中遇到的问题:1、权限验证不通过props.put("mail.smtp.auth","true");2、附件乱码bp.setFileName(MimeUtility.encodeText(fileds.getName(),"utf-8",null));//取附件要这样写,不然附件名会乱码。
分类:编程语言   时间:2014-10-23 21:03:44    阅读次数:129
UVA 10131 Is Bigger Smarter?(DP)
Some people think that the bigger an elephant is, the smarter it is. To disprove this, you want to take the data on a collection of elephants and put as large a subset of this data as possible into a...
分类:其他好文   时间:2014-10-23 20:51:42    阅读次数:221
solr home 目录设置
对于在tomcat 中部署solr 来说,有以下三处可以配置 solr.solr.home(即solr的数据文件位置):1. 在解压缩solr.war后的webapps/solr 中的WEB-INF/web.xml中修改 solr/home /put/your/solr/...
分类:其他好文   时间:2014-10-23 16:01:23    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!