码迷,mamicode.com
首页 >  
搜索关键字:collections deque counter    ( 12297个结果
6.基本数据结构-双端队列(Deque)
6.基本数据结构 双端队列(Deque) 一.双端队列(Deque) 概念:deque(也称为双端队列)是与队列类似的项的有序集合。它有两个端部,首部和尾部,并且项在集合中保持不变。 特性:deque 特殊之处在于添加和删除项是非限制性的。可以在前面或后面添加新项。同样,可以从任一端移除现有项。在某 ...
分类:其他好文   时间:2020-01-12 16:40:18    阅读次数:115
Comparable和Comparator
1. Comparable接口 在java.lang包下,实现了Comparable函数式接口的对象可以自然排序,而数组和集合实现了该接口,所以我们会用Arrays.sort()或Collections.sort()来排序 Comparable比较大于就返回1,小于返回 1,等于返回0 如果自定义的 ...
分类:其他好文   时间:2020-01-12 15:30:36    阅读次数:88
Redis客户端
java客户端 jedis 获取 Maven依赖 基本使用 Jedis jedis = new Jedis("127.0.0.1",6379) string jedis.set("helo","world") jedis.get("hello") jedis.incr("counter") hash ...
分类:其他好文   时间:2020-01-12 15:12:05    阅读次数:122
抽象工厂
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Dapper; using System.Data.SqlClient; ...
分类:其他好文   时间:2020-01-11 21:59:35    阅读次数:78
服务器中:W3SVC 服务的性能库 错误解决方法
"W3SVC" 服务的性能库 "C:\WINDOWS\system32\inetsrv\w3ctrs.dll" 的配置信息 同在注册表中保存的受信任性能库信息不匹配。此库中的函数不会作为受信任函数处理。的解决方法:执行CMD CD c:\winnt\system32\ 执行 unlodctr w3s ...
分类:其他好文   时间:2020-01-11 21:58:01    阅读次数:103
7.2
//单调队列 #include<deque> using namespace std; deque<int> int main( ){ int a[1000]; for( itn i=0 ;i<1000 ;i++){ if(q.empty()){ q.push_back( a[i] ); } els ...
分类:其他好文   时间:2020-01-11 15:18:07    阅读次数:58
wpf自定义Mvvm框架
1.DelegateCommand.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 u ...
分类:Windows程序   时间:2020-01-10 18:36:30    阅读次数:109
文件导入数据库
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; usi ...
分类:数据库   时间:2020-01-10 18:32:20    阅读次数:112
python第十五天
python第十五天 今日内容 常用模块的介绍: time,datetime os,sys hashlib,json,pickle,collections time:和时间相关 封装了获取时间戳和字符串形式的时间的一些方法。 time.time():获取时间戳 time.gmtime([second ...
分类:编程语言   时间:2020-01-10 12:34:53    阅读次数:71
Lambda表达式
自己保存一些偶尔用的到的Lambda表达式小技巧 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sys ...
分类:其他好文   时间:2020-01-10 00:40:56    阅读次数:75
12297条   上一页 1 ... 81 82 83 84 85 ... 1230 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!