上一页 1 2 3 4 5 6 ··· 48 下一页
摘要: 在userMapper.xml文件中新建映射sql的标签 阅读全文
posted @ 2018-08-15 22:51 Alamps 阅读(16943) 评论(0) 推荐(3) 编辑
摘要: D:\Python36\python.exe C:/Users/Administrator/PycharmProjects/game/src/testMaoyanMov.py{'index': '11', 'image': 'http://p0.meituan.net/movie/230e71d39 阅读全文
posted @ 2018-06-24 12:41 Alamps 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 在Ubuntu上安装samba 在10.04上安装samba时,先把samba卸载,不然会影响后面的安装。 0.卸载samba sudo apt-get remove samba-common sudo apt-get remove smbclient sudo apt-get remove sam 阅读全文
posted @ 2018-06-22 18:34 Alamps 阅读(781) 评论(0) 推荐(0) 编辑
摘要: pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2018-06-11 08:38 Alamps 阅读(306) 评论(0) 推荐(0) 编辑
摘要: Redis无法启动 今天在启动Redis时提示以下错: C:\Java\redis2817>redis-server.exe redis.windows.conf [5268] 23 Apr 11:45:22.696 # The Windows version of Redis allocates 阅读全文
posted @ 2018-06-06 08:50 Alamps 阅读(3284) 评论(0) 推荐(0) 编辑
摘要: ThreadLocal模式与synchronized关键字都是用于处理多线程并发访问变量的问题。只是两者处理问题的角度和思路不同。 1)ThreadLocal是一个Java类,通过对当前线程(Thread)中的局部变量的操作来解决不同线程的变量访问的冲突问题。所以,ThreadLocal提供了线程安全的共享对象机制,每个线程(Thread)都拥有其副本。 2)Java中的synchroniz... 阅读全文
posted @ 2018-04-03 17:13 Alamps 阅读(320) 评论(0) 推荐(0) 编辑
摘要: UML中的6大关系相关英文及音标: 依赖关系 dependency > 关联关系 association ______> 聚合关系 aggregation ______◇ 组合关系 Composition______◆ 实现 realization △ 泛化 generalization △ UML 阅读全文
posted @ 2018-03-18 18:57 Alamps 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: 虚拟机加载类的途径 1、由 new 关键字创建一个类的实例 在由运行时刻用 new 方法载入 如:Dog dog = new Dog(); 2、调用 Class.forName() 方法 通过反射加载类型,并创建对象实例 如:Class clazz = Class.forName(“Dog”); Object dog =clazz.newInstance(); 3、调用某个 ClassLoade... 阅读全文
posted @ 2018-03-10 09:13 Alamps 阅读(3289) 评论(0) 推荐(0) 编辑
摘要: package com.bjsxt.base; class Sigleton{ private Sigleton(){}; private static Sigleton instance = new Sigleton(); public static Sigleton getInstance(){ return instance; } } p... 阅读全文
posted @ 2018-03-09 23:39 Alamps 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 比如我输入的查询条件为“wang”,那么应该返回只包含employee1的List列表。 List list = new ArrayList(); Employee employee1 = new Employee(); employee1.setName("wangqiang"); employe 阅读全文
posted @ 2018-02-28 17:54 Alamps 阅读(10882) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 48 下一页