码迷,mamicode.com
首页 >  
搜索关键字:map hashmap linkedhashmap map.entry collections 可变参数    ( 41027个结果
连接Oracle数据库的OracleHelper.cs
using System;using System.Configuration;using System.Data;using System.Data.OracleClient;using System.Collections;namespace DBUtility { /// ///...
分类:数据库   时间:2014-05-12 16:09:43    阅读次数:493
ASP.NET(C#) GridView (编辑、删除、更新、取消)
转自:http://my.oschina.net/dldlhrmc/blog/93458前台代码view sourceprint?01020304050607080910111213181920212223后台代码01using System;02using System.Collections.G...
分类:Web程序   时间:2014-05-06 09:17:54    阅读次数:484
Activity之间的信使--Bundle
两个Activity之间的传参的具体做法如下: 1.新建一个Bundle类 Bundle bundle=new Bundle(); 2.向Bundle类中放入数据(类似于map) bundle.putString("key" ," value"); 3.新建一个intent对象,并将该bund...
分类:其他好文   时间:2014-05-06 09:05:48    阅读次数:349
hdu 1083 最大匹配
题意:N个学生 P 个课程 求最大匹配3 3 //学生 课程3 1 2 3 //课程1 匹配学生1 2 32 1 21 1典型的匹配没什么好说的#includeusing namespace std;int p,n;int map[500][500];int pre[500];int v[500.....
分类:其他好文   时间:2014-05-06 00:50:03    阅读次数:259
winform分页控件
五一过的一多半已经过去了,感觉过的真快。 言归正传说说最近一直在用的winform分页控件。 一. 添加新项-用户控件二.拖控件,这个很简单三.写代码using System;using System.Collections.Generic;using System.ComponentModel;....
分类:Windows程序   时间:2014-05-05 23:36:40    阅读次数:616
【图片闪烁问题】
出现原因:多张图片显示时,由于部分图片重叠,导致重画时出现闪烁解决方法:双缓冲技术实质上是将多张图片全部加载在一个bitmap矩形中,最后用GDI+一次性画出
分类:其他好文   时间:2014-05-05 23:29:23    阅读次数:269
Hadoop初学指南(5)--MapReduce入门
本文将介绍Hadoop中的重点MapReduce的入门知识。(1)MapReduce概述MapReduce是一种分布式计算模型,由Google提出,主要用于搜索领域,解决海量数据的计算问题。MR由两个阶段组成:Map和Reduce,在Hadoop中用户只需要实现map()和reduce()两个函数,即可实现分布式计算,非常简单..
分类:其他好文   时间:2014-05-03 01:53:48    阅读次数:519
characterCustomezition的资源打包代码分析
using System.Collections.Generic;using System.IO;using UnityEditor;using UnityEngine;class CreateAssetbundles{ // This method creates an assetbundl...
分类:其他好文   时间:2014-05-02 14:55:17    阅读次数:346
codeforces A. Supercentral Point 题解
暴力法可过,效率O(n^2) 但是使用hash表可以把效率降到近乎O(n) 要巧妙使用两个map容器。 要对map和set容器很熟悉了,合起来一起使用。...
分类:其他好文   时间:2014-05-02 10:54:55    阅读次数:365
C#简单工厂模式(文件案例)
usingSystem; usingSystem.Collections.Generic; usingSystem.IO; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespace读文件案例 { classProgram { staticvoidMain(string[]args) { Console.WriteLine("请输入文件名"); stringfileName=Console.Read..
分类:其他好文   时间:2014-05-02 04:00:58    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!