随笔分类 - JAVA
摘要:0、前言 工作忙起来后,许久不看算法,竟然DFA敏感词算法都要看好一阵才能理解。。。真是和三阶魔方还原手法一样,田园将芜,非常可惜啊。 在DFA算法中,第一步是需要理解它的数据结构,在此基础上,涉及到一些Hashmap的赋值。这里的赋值非常有趣,三个Hashmap翻来覆去赋值,就解决了敏感词表的初始
阅读全文
摘要:无法识别javanohup: failed to run command `java': No such file or directory那么在shell中加两行即可解决. /etc/profile. ~/.bash_profile所有的文件如下:#!/bin/bash. /etc/profile...
阅读全文
摘要:改过LD_LIBRARY_PATH改过 /etc/ld.so.conf参考这篇文章http://blog.csdn.net/zjuylok/article/details/4152559最后都不好使,最后一句话指点迷津But if I comment the line that sets theja...
阅读全文
摘要:将路径加入至etc/ld.so.conf中
阅读全文
摘要:实验环境 Myeclipse默认编码 UTF-8先看两种读文件的方式:方式一:InputStreamReader fReader = new InputStreamReader(new FileInputStream(filePathString),"UTF-8");BufferedReader r...
阅读全文

浙公网安备 33010602011771号