2018年3月12日
摘要: java split函数结尾空字符串被丢弃的问题 转载 2016年11月29日 10:09:51 标签: java / split 2265 转载 2016年11月29日 10:09:51 标签: java / split 2265 参考: http://yinny.iteye.com/blog/1 阅读全文
posted @ 2018-03-12 14:40 88123 阅读(313) 评论(0) 推荐(0) 编辑
  2018年3月8日
摘要: https://segmentfault.com/a/1190000002680804 阅读全文
posted @ 2018-03-08 13:23 88123 阅读(105) 评论(0) 推荐(0) 编辑
  2018年3月5日
摘要: 在dos下编译java程序,就要用到classpath这个概念,尤其是在没有设置环境变量的时候。classpath就是存放.class等编译后文件的路径。 javac:如果当前你要编译的java文件中引用了其它的类(比如说:继承),但该引用类的.class文件不在当前目录下,这种情况下就需要在jav 阅读全文
posted @ 2018-03-05 14:57 88123 阅读(6959) 评论(0) 推荐(0) 编辑
摘要: Java路径 Java中使用的路径,分为两种:绝对路径和相对路径。具体而言,又分为四种: 一、URI形式的绝对资源路径 如:file:/D:/java/eclipse32/workspace/jbpmtest3/bin/aaa.b URL是URI的特例。URL的前缀/协议,必须是Java熟悉的。UR 阅读全文
posted @ 2018-03-05 14:51 88123 阅读(755) 评论(0) 推荐(0) 编辑
  2017年2月9日
摘要: 第二章: 1.分号隔开多条命令。 2.变量赋值中间没有任何空格。 3.构造管道时,尽量让每个阶段的数据量变得更少。如果两个任务与次序无关,那么先进行能让数据量变得更少的操作。 4.位桶 /dev/null 传到此文件的数据都会被系统丢掉 5./dev/tty 打开此文件时,unix 会自动将它重定向 阅读全文
posted @ 2017-02-09 22:30 88123 阅读(90) 评论(0) 推荐(0) 编辑
  2017年1月17日
摘要: 前言: Thrift作为Facebook开源的RPC框架, 通过IDL中间语言, 并借助代码生成引擎生成各种主流语言的rpc框架服务端/客户端代码. 不过Thrift的实现, 简单使用离实际生产环境还是有一定距离, 本系列将对Thrift作代码解读和框架扩充, 使得它更加贴近生产环境. 本文讲述如何 阅读全文
posted @ 2017-01-17 17:23 88123 阅读(466) 评论(0) 推荐(0) 编辑
  2015年7月17日
摘要: Themain.mFileandtheUIApplicationMainFunctionThemainfunctioninmain.mcallstheUIApplicationMainfunctionwithinanautoreleasepool.@autoreleasepool{returnUIA... 阅读全文
posted @ 2015-07-17 03:56 88123 阅读(153) 评论(0) 推荐(0) 编辑
摘要: -(void)viewDidLoad{UISwipeGestureRecognizer *recognizer; recognizer = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(handleSwip... 阅读全文
posted @ 2015-07-17 03:40 88123 阅读(168) 评论(0) 推荐(0) 编辑
  2015年6月8日
摘要: 研究了一夜,各种bug。看到了大神的代码,简洁明了。学习了。class Solution { public: void printQueen(vector &A,int n,vector> &result){ vector r; for(int i=0;iA,... 阅读全文
posted @ 2015-06-08 05:40 88123 阅读(177) 评论(0) 推荐(0) 编辑
  2015年6月1日
摘要: Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a... 阅读全文
posted @ 2015-06-01 10:05 88123 阅读(127) 评论(0) 推荐(0) 编辑