码迷,mamicode.com
首页 >  
搜索关键字:put    ( 16494个结果
zoj 1649 Rescue (bfs+队列)
Rescue Time Limit: 2 Seconds      Memory Limit: 65536 KB Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to sa...
分类:其他好文   时间:2014-08-15 17:58:19    阅读次数:221
javascript实现map的功能(转载)
/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear() 删除MAP所有元素 * put(key, value) 向MAP中增加元素(key, va...
分类:编程语言   时间:2014-08-14 16:18:58    阅读次数:183
PL/SQL 基础知识
pl/sql中的四种循环 loop? exit?when?c_page?>10; c_page?:=?c_page+1; dbms_output.put_line(‘c_page?:?‘?||?c_page); end?loop; while?c_page<20?loop c_page?:=?c_page+1; dbms_output.put_l...
分类:数据库   时间:2014-08-13 19:33:57    阅读次数:238
【JAVA】遍历Map的四种方法
public static void main(String[] args) { Map map = new HashMap(); map.put("1", "value1"); map.put("2", "value2"); map.put("3", "value3"); //第一种:普遍使用,....
分类:编程语言   时间:2014-08-13 18:21:26    阅读次数:266
3.集合--BlockingQueue总结1
一、概述: BlockingQueue作为线程容器,可以为线程同步提供有力的保障。 二、BlockingQueue定义的常用方法 1.BlockingQueue定义的常用方法如下:   抛出异常 特殊值 阻塞 超时 插入 add(e) offer(e) put(e) offer(e, time, unit) 移...
分类:其他好文   时间:2014-08-13 13:10:56    阅读次数:388
在struts2的action中操作域对象(request、session)
在struts2的Action中,操作域对象一共有三种方式: 1.ActionContext(与servelt API无关联):1 //相当于request2 ActionContext.getContext().put("userName", user.getUserName());3 //相当于...
分类:其他好文   时间:2014-08-13 01:05:34    阅读次数:219
C#_模拟webAp_POST-GET-PUT-DELETE
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using System.Web;namespace WebAPICl...
分类:Web程序   时间:2014-08-13 00:41:14    阅读次数:297
hdu 4614 Vases and Flowers
http://acm.hdu.edu.cn/showproblem.php?pid=4614题意:有N个花瓶,标号为0-N-1,往每一个花瓶放一朵花,然后有M个操作,输入a,b,c,如果a==1表示从b开始放花,期间有花就跳过,直到结束,如果没有放入一朵花,则输出“Can not put any o...
分类:其他好文   时间:2014-08-12 21:34:34    阅读次数:263
java entry
我希望要一个ArrayList,类似C++中的pair,可是Map.Entry是个接口,不能实例化,能够像以下这样写HashMap G = new HashMap();G.put(1, 9); G.put(4, 6); G.put(2, 8);G.put(3, 7); ArrayList> a...
分类:编程语言   时间:2014-08-12 18:17:54    阅读次数:231
3.PL_SQL——创建第一个匿名块(set,l,DBMS_OUTPUT.PUT_LINE())
一、编写匿名块并执行前文中介绍了PL/SQL的几种块的类型,其中匿名块是一种即时创建即时执行的块,下面使用sql*plus来演示一下如何创建一个匿名块:SQL>showuser--显示当前用户 USERis"HR"SQL>1DECLARE 2v_fnameVARCHAR2(20); --DECLARE部分,后文中将详解命名规则 3BEGI..
分类:数据库   时间:2014-08-12 03:31:04    阅读次数:412
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!