Wesley13 Wesley13
4年前
java mail session使用Properties的clone方法
/LicensedtotheApacheSoftwareFoundation(ASF)underoneormorecontributorlicenseagreements.SeetheNOTICEfiledistributedwiththisworkfora
LinMeng LinMeng
5年前
js数组Api之reduce()方法的详解
reduce()的基础概念和用法在上一篇已经粗略讲过,本篇主要来讲一讲它的高级用法。reduce()能实现的功能,我们用常规的for()/forEach()也能搞定,但是相对来说reduce()算得上是捷径我们先来用例子解析一下initialValue参数vararr1,2,3,4;varsumarr.reduc
Wesley13 Wesley13
4年前
JDK动态代理和Cglib的动态代理
最简单的是静态代理方法,即代理模式,这里就不多啰嗦了。。重点说一下JDK的动态代理和Cglib的动态代理吧先说JDK的,需要被代理的类需要有接口,否则无法实现package proxy.dynamic;public interface IBook {void add();}实现接口
Wesley13 Wesley13
4年前
Java中有趣的String、StringBuffer与StringBuilder
String介绍  String类属于java.lang包中,String类是不可变类,任何对String的改变都会引发新的String对象的生成。  创建String的两种方式:  1.通过构造器创建:StringstrnewString("Iamastring.");2.通过变量赋值:String
Stella981 Stella981
4年前
Python中的raw_input()和input()
raw\_input()和input()都是python中的内建函数,用于读取控制台用户的输入,但有所区别:nr@localhostconf$pythonPython2.7.5(default,Aug4201
Wesley13 Wesley13
4年前
UOJ#351. 新年的叶子 概率期望
原文链接https://www.cnblogs.com/zhouzhendong/p/UOJ351.html题目传送门UOJ351(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fuoj.ac%2Fproblem%2F351)
Wesley13 Wesley13
4年前
Pentaho的下载与安装及其简单实用
一、首先去官网,因为是纯英文的。所以将其进行了翻译。https://community.hitachivantara.com/s/article/dataintegrationkettle(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fcommunity.hitachivant
Stella981 Stella981
4年前
Discuz X3.1 论坛修改的方法
!(http://static.oschina.net/uploads/space/2016/0120/131055_Yzo0_1444646.png)!(http://static.oschina.net/uploads/space/2016/0120/131056_khNy_1444646.jpg)本人在实际操作中遇到的一些问题。自己
Wesley13 Wesley13
4年前
UI framework 处理user 错误输入的逻辑
例子:在opportunity的创建页面,给closingdate输入一个无效的日期,回车:!clipboard1(https://userimages.githubusercontent.com/5669954/28162218e80a4dc667f811e79da2b4dbcf7ea16f.png)(https://www.o
可莉 可莉
4年前
009——Matlab调用cftool工具的函数方法
(一)参考文献:http://blog.sina.com.cn/s/blog\_4a0a8b5d0100uare.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.sina.com.cn%2Fs%2Fblog_4a0a8b5d0100uare.html)(二)视频教程