简单工厂模式 Shape.java public interface Shape { void draw(); } Circle.java public class Circle implements Shape{ @Override public void draw() { System.out. ...
分类:
编程语言 时间:
2021-06-30 18:01:11
阅读次数:
0
ES5 构造函数 function Person(){ this.name='建林'; this.age=18; this.say=function(){ console.log('person的say') } } let p1=new Person(); console.log(p1.name); ...
分类:
其他好文 时间:
2021-06-30 18:00:57
阅读次数:
0
什么是性能测试? 概念: 使??动化的?具,模拟不同的场景,对软件的各项性能指标进?测试和评估。 软件的范围包括: 后台处理程序(开发写的代码) 中间件(应?服务器)、数据库、程序架构等等 服务器资源的消耗(CPU、内存、磁盘、?络) 性能测试的?的: 1、评估当前的系统能? 验收第三?提供的软件获 ...
分类:
其他好文 时间:
2021-06-30 17:55:44
阅读次数:
0
总述:任何集合内部都可以存储其它任何集合 1、List嵌套List public class Test{ public static void main(String[] args){ /* 假如有两个班的学生姓名,它们分别存储在两个集合中: */ //第一个班 ArrayList<String> ...
分类:
其他好文 时间:
2021-06-30 17:53:01
阅读次数:
0
转自:https://www.cnblogs.com/liaojie970/p/9396334.html springboot 针对jackson是自动化配置的,如果需要修改,有两种方式: 方式一:通过application.yml 配置属性说明:## spring.jackson.date-for ...
分类:
编程语言 时间:
2021-06-30 17:38:36
阅读次数:
0
由于有现成的Swiper, SwiperItem可以使用,所以DetailSwiper的实现非常简单。 首先获取轮播图片的数组topImages,数组中存放的是一张张图片的url。 this.topImages = data.itemInfo.topImages; 然后将topImages发送给子组 ...
分类:
其他好文 时间:
2021-06-30 17:36:35
阅读次数:
0
并发编程-ConcurrentHashMap(二) 昨天说到扩容前面的准备工作,和一系列的判断,其中我觉得设计精妙的就是他的那个【高低位扩容】,精巧的使用了二进制,从某种层面讲,提升了性能,因为二进制的那个变量的存储,就相同于一个容器,如果不使用它,那肯定要new出一个容器进行存储,这就会占用内存。 ...
分类:
其他好文 时间:
2021-06-30 17:32:02
阅读次数:
0
web相关概念回顾 web服务器软件 Tomcat ...
分类:
编程语言 时间:
2021-06-29 16:10:48
阅读次数:
0
1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
移动开发 时间:
2021-06-29 16:09:22
阅读次数:
0