#SSH配置文件整合笔记实例 spring-BaseBean.xml db.properties spring-ActionBean.xml struts.xml ps:配置文件仅供参考 ...
分类:
编程语言 时间:
2016-12-13 18:38:40
阅读次数:
206
装饰模式适用场景: 装饰者模式(Decorator Pattern),是在不必改变原类文件和使用继承的情况下,动态的扩展一个对象的功能。它是通过创建一个包装对象,也就是装饰来包裹真实的对象。使用装饰者模式的时候需要注意一下几点内容:(1)装饰对象和真实对象有相同的接口。这样客户端对象就可以以和真实对 ...
分类:
其他好文 时间:
2016-12-13 18:34:35
阅读次数:
155
在使用DTO概念后,使用AutoMapper进行对象的映射,使用4.0.4版本的AutoMapper. AutoMapper的辅助类: 有特殊字段需要进行处理的,可以使用ForMember ...
分类:
移动开发 时间:
2016-12-13 15:39:48
阅读次数:
255
在使用 出现“XML”错误 因此使用 成功安装”baidumap“和”REmap“ 在使用前注意载入 基本的使用参照:这个 ...
分类:
其他好文 时间:
2016-12-13 15:38:12
阅读次数:
173
一、ZooKeeper 基本概念1、ZooKeeper 是什么?Zookeeper官网地址: http://zookeeper.apache.org/Zookeeper官网文档地址:http://zo...
分类:
其他好文 时间:
2016-12-13 12:11:17
阅读次数:
162
package com.sun.test; import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStream;import ...
分类:
编程语言 时间:
2016-12-13 10:01:57
阅读次数:
288
Solution 1: Greedy, Time:O(nlogn) Just assign the cookies starting from the child with less greediness to maximize the number of happy children . Solu ...
分类:
其他好文 时间:
2016-12-13 08:08:01
阅读次数:
171
function printArray(arr){ for(var i in arr){ if(arr[i] instance of Array){ printArray(arr[i]); }else{ document.write(arr[i]+' '); } } } var data=[1,[2 ...
分类:
Web程序 时间:
2016-12-13 08:08:01
阅读次数:
443
2004年陪德国客户参观生产厂家,走了一圈,最后到了PCB工厂。还是一如既往的的脏,我带他们走马观花一圈就进了厂家的会议室。之前,德国老外问我接受“Gerber”文件吗?我根本不知他说得是啥东西,于是回答他说我需要CAD原文件,他一脸为难的样子。我发给工厂的全是Protel格式的PCB文件,那个“G... ...
分类:
其他好文 时间:
2016-12-13 07:30:12
阅读次数:
202
首先说明:在caffe/include/caffe中的 filer.hpp文件中有它的源文件,如果想看,可以看看哦,反正我是不想看,代码细节吧,现在不想知道太多,有个宏观的idea就可以啦,如果想看代码的具体的话,可以看:http://blog.csdn.net/xizero00/article/d ...
分类:
其他好文 时间:
2016-12-12 23:19:15
阅读次数:
779