码迷,mamicode.com
首页 >  
搜索关键字:post data    ( 92220个结果)
获取设备上的某个目录下的所有文件
有两种方法:1.通过Eclipse中的集成插件DDMS中的File Explorer(Pull a file from device),但是有时候明明连成,但是就是无法将文件pull下来.虽然也运行了 adb root发生这种错误时,采用方法2;2.通过adb 命名$ adb pull /data/...
分类:其他好文   时间:2014-06-11 13:14:31    阅读次数:198
leetcode:LRU Cache
1 /* 2 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. 3 ...
分类:其他好文   时间:2014-06-11 13:08:46    阅读次数:297
排序算法
一、插入排序1.直接插入排序算法稳定,时间复杂度为O(n^2),空间移动复杂度为O(n2)如果序列是有序的,最好的时间复杂度为O(n)void insertSort(int data[],int n){ for(int i=1;i=0&&data[j]>temp) { d...
分类:其他好文   时间:2014-06-11 12:53:06    阅读次数:266
Careercup | Chapter 1
1.1Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures?字符串问题,需要先确定是不是只有ASCII码...
分类:其他好文   时间:2014-06-11 12:27:53    阅读次数:247
JS中URL编码参数(UrlEncode)
网上有很多文字作品写涉及在JS中呈现类似UrlEncode功能时都是自定义参数来呈现,其实JS中本身就有那样的参数。参数parameter由于用类似URL的形式传过去 , 所以别直接就那样赋值以下是对变量值的URL编码总结 : 意见用encodeURIComponent() , GET 和POST方...
分类:Web程序   时间:2014-06-11 12:02:35    阅读次数:7645
java中的命名规则
转载自:http://growstep.diandian.com/post/2011-08-17/39890941、类名首字母应该大写。属性(成员变量)、方法、对象变量以及所有标识符(如形式参数、实际参数、局部变量)的首字母应小写,其中包含的所有单词都应紧靠在一起,而且大写中间单词的首字母。例如:类...
分类:编程语言   时间:2014-06-11 11:34:37    阅读次数:287
模拟post请求方法
2
分类:其他好文   时间:2014-06-11 11:09:50    阅读次数:153
java.io.ByteArrayOutputStream 源码分析
成员变量buf是存储数据的缓冲区 count是缓冲区中的有效字节数。 /** * The buffer where data is stored. */ protected byte buf[]; /** * The number of valid byte...
分类:编程语言   时间:2014-06-11 11:03:44    阅读次数:269
数据集的使用
DataSet ds=new DataSet();//创建数据集--就是数据库,在内存中 string sql="select * from studnet"; string connStr="Data Source=.;Initial Catalo...
分类:其他好文   时间:2014-06-11 10:55:17    阅读次数:881
KendoUI系列:ComboBox
1、基本使用 1>、创建Input 效果预览: 设置初始化时选中项:var color = $("#color").data("kendoComboBox");color.select(1); // 设置初始化时选中项,索引从0开始。 获取当前选中项Value值:var color = ...
分类:其他好文   时间:2014-06-11 10:43:36    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!