·作为Java中最为基础的部分,在Java的学习过程中,就一定会学习到字符串,其中String类作为字符串。并且在Java所有的程序中是使用字符串都是使用String类去实现。 两者存在一定的通性,都是可以储存和操作字符串,即包含多个字符的字符串数据。 但是StringBuffer与Sting的区别 ...
分类:
其他好文 时间:
2017-07-20 21:01:29
阅读次数:
364
1.定义ListItem类 public class ListItem { private string _key = string.Empty; private string _value = string.Empty; public ListItem(string pKey, string pV ...
一、for循环 二、python赋值补充: 三、列表 四、元组 五、字典 ...
分类:
其他好文 时间:
2017-07-20 17:30:47
阅读次数:
183
一、用户登录程序 知识点:1.input() 2.while 循环 3.fot 循环 4.文件操作 5.函数调用 二、程序代码: #以只读文件打开下面两个文件 lock_file=open('file_lock.txt','r+') #已锁定的账户文件 user_pass=open('usernam ...
分类:
编程语言 时间:
2017-07-20 17:23:43
阅读次数:
141
目前研究了三种ui-grid导出的情况 1.使用ui-grid自身所携带的export功能: http://ui-grid.info/docs/#/tutorial/206_exporting_data 这里面讲的很详细,但是要注意 html文件里面 js文件里面 2. 使用按钮导出ui-grid表 ...
分类:
其他好文 时间:
2017-07-20 15:10:58
阅读次数:
222
由于之前./stopWebLogic没完全关掉关掉所有进程,导致了下次启动weblogic的时候报了以下错误:<Info><Management><BEA-141281><unabletogetfilelock,willretry…><Info><Management><BEA-141281><unabletogetfilelock,willretry..
分类:
其他好文 时间:
2017-07-20 14:11:14
阅读次数:
124
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using Kong.SyntaxHighlighter.Winform... ...
分类:
其他好文 时间:
2017-07-20 12:54:40
阅读次数:
144
近期在项目开发中遇到一个关于手机输入键盘的坑。特来记录下。 应用场景: 项目中有一个界面是用viewpaper加三个fragment写的,当中viewpaper被我屏蔽了左右滑动,上面有三个点击按钮,点击他们能够切换页面(不要问我为什么这么写,由于你不知道需求有多么的操蛋)。每一个fragment里 ...
分类:
移动开发 时间:
2017-07-20 10:05:17
阅读次数:
536
字符串的内置方法: 移除空白strip mas=' hello ' print(msg) print(msg.strip()) rstrip移除右边空白 lstrip移除左边空白 用法: while True: name=input('user: ').strip pwd=input('passwo ...
分类:
其他好文 时间:
2017-07-19 21:45:50
阅读次数:
154
Docker默认存储路径: # docker info...... Data loop file: /var/lib/docker/devicemapper/devicemapper/data......Docker Root Dir: /var/lib/dockerDebug Mode (clie ...
分类:
其他好文 时间:
2017-07-19 17:50:21
阅读次数:
250