package Queue; import java.util.*; import java.util.function.Consumer; /** * 双端队列主要实现list接口和Deque接口,实现了所有list操作,元素允许为null * 该实现是不同步的,not synchronized.... ...
分类:
编程语言 时间:
2017-12-16 22:11:29
阅读次数:
210
启动方式 ./bin/mongod -f mongodb.conf 会看到 about to fork child process, waiting until server is ready for connections.forked process: 2313child process sta ...
分类:
数据库 时间:
2017-12-14 15:46:26
阅读次数:
240
1 package com.liveyc.restfull.until; 2 3 import java.util.HashMap; 4 import java.util.Iterator; 5 import java.util.List; 6 7 import org.apache.commons... ...
分类:
Web程序 时间:
2017-12-12 17:41:28
阅读次数:
225
I thought it would be an easy one, but found myself lost with 34 opened tabs on stackoverflow... The problem : keep it ordered Usually, obtaining a Qu ...
分类:
编程语言 时间:
2017-12-11 13:58:15
阅读次数:
450
/** * schedule_timeout - sleep until timeout * @timeout: timeout value in jiffies * * Make the current task sleep until @timeout jiffies have * elapse... ...
分类:
其他好文 时间:
2017-12-11 11:25:14
阅读次数:
341
2080 : A+B or A-B 时间限制:1 Sec 内存限制:0 MiB 提交:15 答案正确:5 题目描述 Give you three strings s1, s2 and s3. These strings contain only capital letters A,B,C,D,E. ...
分类:
其他好文 时间:
2017-12-09 22:26:56
阅读次数:
216
Description George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:
其他好文 时间:
2017-12-07 23:56:06
阅读次数:
248
case语句: 在脚本中使用case结构: case ${VAR_NAME} in P
分类:
其他好文 时间:
2017-12-06 22:03:57
阅读次数:
208
// Range:to:默认步进为1 val to1 = 1 to 10 println(to1) // 定义一个不进为2的Range val to2 = 1 to 10 by 2 println(to2) println(to2.toList) // Range:until val until1 ... ...
分类:
其他好文 时间:
2017-12-06 21:39:43
阅读次数:
247
bash脚本之case语句应用,while、until和select循环应用及其示例
分类:
其他好文 时间:
2017-12-04 22:26:12
阅读次数:
233