码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
【LeetCode】Contains Duplicate II 解题小结
题目:Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and t ...
分类:其他好文   时间:2016-08-23 06:53:24    阅读次数:179
Android Studio----- 无法打印---log----问题总结----华为坑深(转)
问题描述:安卓真机调试时 System.out.println 无法输出, err则可以;Log.e,w可以,但其他不行。 解决方法,按如下方式查看酷派手机默认设置日志未warn方式。 酷派手机: *20121220# 进入安卓的通用工程模式,再按下文的日志设置方式修改手机的日志默认方式 摘要(Ab ...
分类:移动开发   时间:2016-08-22 23:07:58    阅读次数:1009
使用OpenSSL为支付宝生成RSA私钥
通过openssl工具生成RSA的公钥和私钥(opnssl工具可在互联网中下载到,也可以点此下载无线接口包,里面包含此工具)打开openssl文件夹下的bin文件夹,执行openssl.exe文件: 1)生成RSA私钥 输入“生成命令.txt”文件中:“genrsa -out rsa_private ...
分类:其他好文   时间:2016-08-22 21:45:46    阅读次数:1458
JAVA中for 和 for in 循环
int[]arr={0,1,2};//forfor(inti=0,len=arr.length;i<len;i++){System.out.println(arr[i]);//012}//forinfor(intx:arr){System.out.println(arr[x]);}
分类:编程语言   时间:2016-08-22 16:20:08    阅读次数:153
GDB常用功能
执行时,常用-q去掉copyright等无用信息: gdb ./a.out -q Print contents of %eax in decimal Print contents of %eax in hex Print contents of %eax in binary Print conten ...
分类:数据库   时间:2016-08-22 12:09:49    阅读次数:247
在使用Strus2中遇到的一些问题
1.想用Struts2完成提示信息的操作,比如用户登录页面,登录成功提示“登陆成功”,失败则提示“用户名或密码错误,请重新输入” 这个时候要考虑使用PrintWriter out = response.getWriter(); out.println(<script>alert("登陆成功");</ ...
分类:其他好文   时间:2016-08-22 12:09:11    阅读次数:156
HashMap TreeMap
用HashMap存储信息、 //HashMap System.out.println(" HashMap无序输出 "); HashMap<String,String> hsMap=new HashMap<String,String>(); hsMap.put("3", "Value3"); hsMa ...
分类:其他好文   时间:2016-08-22 10:42:40    阅读次数:112
JSP九大内置组件
request:用户端请求,此请求会包含来自get/post请求的参数 response:网页传回用户端的回应 pagecontext:网页上下文,也就是网页的属性 session:与请求有关的会话期 application:servlet正在执行的内容 out:用来传送回应的输出 config:s ...
分类:Web程序   时间:2016-08-22 00:13:32    阅读次数:240
JavaScript学习笔记4之 ByClass&json
一、通过class获取标签 var out=document.getElementsByClassName(‘out’);IE 6 7 8 不支持 getElementsName 是否有办法既能通过class获取标签又没有兼容问题 ? 首先获取全部的标签, 用for循环遍历到所有类名相同的标签, 遍 ...
分类:编程语言   时间:2016-08-21 19:56:53    阅读次数:181
程序使用ObjectOutputStream(new FileOutputStream(fileName,true))向文件尾写入多个对象,多次运行,最后进行读取的时候抛出StreamCorruptedException
jdk1.8源码 public ObjectOutputStream(OutputStream out) throws IOException { verifySubclass(); bout = new BlockDataOutputStream(out); handles = new Handl ...
分类:其他好文   时间:2016-08-21 18:14:52    阅读次数:157
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!