JAVA集合
慕安凉
这个作者很懒,什么都没留下…
展开
-
hashMap和hashTable的区别
public static void main(String[] args) { HashMap map = new HashMap(); map.put(null, "111"); map.put("22", null); /** * 如果key在map中存在,map.containsKey(null)则返回true,否则返回false * 如果key在map中存在,原创 2015-09-02 10:29:02 · 249 阅读 · 0 评论 -
dubbo+zookeeper+spring mvc
生产者和消费者的spring-mvc.xml、spring-mybatis.xml、log4j.properties和pom.xml文件都一样 spring-mvc.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst原创 2017-03-13 17:48:00 · 346 阅读 · 0 评论