码迷,mamicode.com
首页 >  
搜索关键字:single number3    ( 5041个结果)
深入浅出 Spring
本篇是笔者之前学习 Spring 时为了复习方便所做的笔记,现在整理后与大家分享。 内容包括 在 Eclipse 中搭建 Spring 的开发环境、Spring 的 IOC、Spring 的依赖注入、Spring 整合 Web、IOC 注解、Spring 的 AOP 详解、Spring 的 JDBC... ...
分类:编程语言   时间:2017-10-18 13:19:31    阅读次数:186
单一职责原则(Single Responsibility Principle)
单一职责原则(SRP:The Single Responsibility Principle) 一个类应该有且只有一个变化的原因。 There should never be more than one reason for a class to change. 为什么将不同的职责分离到单独的类中是 ...
分类:其他好文   时间:2017-10-18 00:12:09    阅读次数:207
并发包总结
并发包中引入了线程池,好处是: 可以制定灵活的运行策略,比如single的,保证一个一个运行,fixed的可以保证一次只运行一定数量的线程 线程池可以将线程关闭 线程池可以使线程之间进行通讯 锁的好处是: 有公平锁,可以实现先来的线程,先执行 通过lock(reentrantelock)和condi ...
分类:其他好文   时间:2017-10-18 00:11:02    阅读次数:208
修改了SpringBoot的主类名称后,gradle build报错的解决办法
Unable to find a single main class from the following candidates [*.*Application] ...
分类:编程语言   时间:2017-10-17 15:37:16    阅读次数:315
ECS 175 P1
作业。。。还是多做事,少想。。与其想一些遥不可及的事情,不如把脚下的事情做好。。。 应该分几个文件好好写的。。。习惯真差。。。 DDA,Bresenham,Scanline,按照中心平移,旋转,放大缩小,变化窗口大小。。。 ubuntu 下要装freeglut。。。 #ifdef WIN32#inc ...
分类:其他好文   时间:2017-10-17 12:22:50    阅读次数:137
线段树 - 矩形的面积并 (扫描线)
There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the i ...
分类:其他好文   时间:2017-10-16 23:32:47    阅读次数:265
【Redis】redis密码设置、访问权限控制等安全设置(redis默认端口6379)
redis作为一个高速数据库,在互联网上,必须有对应的安全机制来进行保护,方法有2,如下。 1.比较安全的办法是采用绑定IP的方式来进行控制。 请在redis.conf文件找到如下配置 # If you want you can bind a single interface, if the bin ...
分类:其他好文   时间:2017-10-16 16:42:40    阅读次数:164
c++单例模式
自己写的单例模式 ...
分类:编程语言   时间:2017-10-15 23:21:56    阅读次数:411
POJ3744 Scout YYF I (矩阵优化的概率DP)
Scout YYF I YYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy's base. After overcoming a series difficul ...
分类:其他好文   时间:2017-10-15 21:07:08    阅读次数:206
codeforces868D Huge Strings
You are given n strings s1,?s2,?...,?sn consisting of characters 0 and 1. m operations are performed, on each of them you concatenate two existing str ...
分类:其他好文   时间:2017-10-15 17:46:05    阅读次数:276
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!