Wesley13 Wesley13
4年前
java中的public void是什么意思
最基本的语法:publicclassHelloWorld{publicstaticvoidmain(Stringargs){System.out.println("HelloWorld");}}java里public是类的访问修饰符,void是表示
Wesley13 Wesley13
4年前
java8 stream 集合去重
/Description:JDK1.8的Stream操作工具类@authorlinan.du@date2019年7月18日@version1.0/publicclassStreamUtil{/
DevOpSec DevOpSec
4年前
NGINX的 IF AND 和 OR
if的逻辑用法什么是逻辑用法呢,就程序中的and、or关系,就叫做逻辑了.NGINX支持if的and与or或者&&与||吗?答案是No.当你尝试这样配置,重载nginx时,nginx会报出错误location/test/{default_typetext/html;
Stella981 Stella981
4年前
PriorityQueue和PriorityBlockingQueue
点击上方的蓝字关注我吧_程序那些事_简介Queue一般来说都是FIFO的,当然之前我们也介绍过Deque可以做为栈来使用。今天我们介绍一种PriorityQueue,可以按照对象的自然顺序或者自定义顺序在Queue中进行排序。PriorityQueue先看PriorityQueue,这个Qu
Stella981 Stella981
4年前
BigDecimal和BigInteger
在看《阿里巴巴开发手册》里面提到浮点数之间的等值判断不要用,而是指定误差范围或用BigDecimal,然后才记忆起备忘录里BigDecimal还没写呢,就这篇幅写了一星期,因为实习完全没有时间啊啊啊啊啊啊啊啊1\.BigDecimal介绍背景我们知道计算机
Wesley13 Wesley13
4年前
Thinkphp 微信网页授权登录
1,建一个vendor类代码如下<?phpclassWxlogin{你自己的private$app_id'';也是你自己的private$app_secret'';
Easter79 Easter79
4年前
TFServering和docker
nvidiadocker安装:https://github.com/NVIDIA/nvidiadockernvidiadocker的基本操作:https://blog.csdn.net/pandamax/article/details/79151107TensorFlowServingDocker整体流程:https://zhuanla
Wesley13 Wesley13
4年前
GPL和LGPL
1.http://www.kindsoft.net/license.php(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.kindsoft.net%2Flicense.php)LGPL开源授权协议概要:1.如果您不对KindEditor程序代码进行任何修改,直接
Wesley13 Wesley13
4年前
C++中的显式构造函数
 有如下一个简单的复数类:classClxComplex{public:ClxComplex(doubledReal0.0,doubledImage0.0){m_dRealdReal;dImagedImage;}doubleGetReal(
Easter79 Easter79
4年前
SwiftCommon之Camera相机
概述IOS中调用设备的相机拍照、录制视频,使用UIImagePickerController类,根据不同的SourceType来区分是拍照还是录视频。SCCameraimportFoundationimportUIKitimportMobileCoreServicesp