码迷,mamicode.com
首页 >  
搜索关键字:collect    ( 2531个结果
java转成xml
1 package com.chinamcloud.cms.article.util; 2 3 import com.chinamcloud.cms.article.dto.ZjyArticleDto; 4 import com.google.common.collect.Maps; 5 impor ...
分类:编程语言   时间:2020-05-08 15:59:55    阅读次数:72
WPF 仿语音播放 自定义控件
原文:WPF 仿语音播放 自定义控件 原理很简单,利用Path画一个图,然后用动画进行播放,播放时间由依赖属性输入赋值与控件内部维护的一个计时器进行控制。 控件基本是玩具,无法作为真实项目使用。 因为没有设置播放源,所以编写异步播放源或者实际播放时候要将事件引发,是否播放等属性,事件移到真实播放事件... ...
分类:Windows程序   时间:2020-05-06 01:42:16    阅读次数:74
bug 记录 Unable to start ServletWebServerApplicationContext due to multiple ServletWebServerFactory beans
错误描述:大致意思就是有多个ServletWebServerFactory spring不知道启动那个 org.springframework.context.ApplicationContextException: Unable to start web server; nested except ...
分类:移动开发   时间:2020-05-05 12:31:00    阅读次数:191
oracle 巡检脚本(自动化)
oracle 巡检脚本(自动化) 断崖修竹 2017-03-03 15:24:40 2884 收藏 2 展开 vi /home/oracle/scripts/check/Report_oracle_inspection.sql set heading off select '一、数据库的基本情况' ...
分类:数据库   时间:2020-05-05 00:56:21    阅读次数:95
Collection子接口:List接口
1. 存储的数据特点:存储序的、可重复的数据。 2. 常用方法:(记住)增:add(Object obj)删:remove(int index) / remove(Object obj)改:set(int index, Object ele)查:get(int index)插:add(int ind ...
分类:其他好文   时间:2020-05-04 17:07:56    阅读次数:57
node.js 中使用 Mongodb
安装node的mongodb https://www.npmjs.com/package/mongodb const MongoClient = require('mongodb').MongoClient;const assert = require('assert');// Connection ...
分类:数据库   时间:2020-05-03 12:14:53    阅读次数:59
java对两个字符串数组取交集、并集和差集
直接上代码。 import java.util.*; public class StringArrayUtil { // 求两个字符串数组的并集,利用set的元素唯一性 public static String[] union(String[] arr1, String[] arr2) { Set< ...
分类:编程语言   时间:2020-05-03 10:48:59    阅读次数:87
从数学的角度理解函数式接口
函数式接口 函数接口是只有一个抽象方法的接口,此方法是行为的抽象,将行为作为入参,进而在面对对象编程的基础上添加面向函数编程的方式。 接下来,我们以数学的角度来研究一下常见的5个函数式接口,理解了这几个,剩下的也就理解了。 复制代码 1. Function Function接口 -> 接收一个参数并 ...
分类:其他好文   时间:2020-05-03 00:38:33    阅读次数:59
数组和集合
数组 一维数组 1.数组定义 type[] arrayName 或type arrayName [] int [] arr 或是 int arr2 [] 2.静态初始化 type arrayName = new type[]{element1,element2,element3} 例子:int ar ...
分类:编程语言   时间:2020-05-02 22:43:18    阅读次数:62
mysql慢查询
1.什么是慢查询 MySQL的慢查询,全名是慢查询日志,是MySQL提供的一种日志记录,用来记录在MySQL中响应时间超过阀值的语句。 具体环境中,运行时间超过long_query_time值的SQL语句,则会被记录到慢查询日志中。 long_query_time的默认值为10,意思是记录运行10秒 ...
分类:数据库   时间:2020-05-02 18:36:40    阅读次数:81
2531条   上一页 1 ... 20 21 22 23 24 ... 254 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!