码迷,mamicode.com
首页 >  
搜索关键字:linked list    ( 56077个结果
C#_dropdownlist_2
stringdeptId=Request.Form["depts"].Trim();Html.DropDownList()赋默认值:页面代码如下: list = new List { new SelectListItem { Text = "启用", Value = "0",Selected = ....
分类:其他好文   时间:2014-05-19 18:59:16    阅读次数:269
Android:ListView之ViewHolder
前言 在开发Android应用过程中经常要与列表展示打交道,比如Listview。在使用过程中如果不能正确的进行细节处理那么对性能还是有很大的损耗的。 Listview展示内容是通过一个Adapter来进行内容绑定的。如下所示: 1 class Adapter implements List...
分类:移动开发   时间:2014-05-19 16:31:39    阅读次数:399
【LeetCode】Rotate List
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.start...
分类:其他好文   时间:2014-05-19 16:25:44    阅读次数:234
【leetcode】Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:其他好文   时间:2014-05-19 15:50:28    阅读次数:447
javascript 和 下拉列表
//全选列表中的项function SelectAllOption(list){for (var i=0; i 0){list.options[0] = null;}}//删除列表选中项//返回删除项的数量function DelSelectedOptions(list){var i = 0;var...
分类:编程语言   时间:2014-05-19 14:27:41    阅读次数:315
LeetCode:Add Two Numbers
题目链接 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si...
分类:其他好文   时间:2014-05-19 13:53:32    阅读次数:296
Android复杂自定义Listview实现
在Android中实现Listview对新人来说比较难以理解,本人看了若干文章后觉得可以使用以下思路来让新人更好理解(同时也做好记录,免得自己以后忘记)。可参考博客:http://cinderella7.blog.51cto.com/7607653/1281696 (这里用MVC的思想去理解List...
分类:移动开发   时间:2014-05-19 13:43:46    阅读次数:410
C#泛型列表List<T>基本用法总结
http://space.itpub.net/14466241/viewspace-624132示例代码如下:namespace SampleListT{ class Program { static void Main(string[] args) { //using System...
分类:其他好文   时间:2014-05-19 13:28:56    阅读次数:233
strust2之jsp调用action的变量
1、HttpServletRequest request=ServletActionContext.getRequest(); ........request.setAttribute("list", list);2#request.list ...
分类:Web程序   时间:2014-05-19 12:34:32    阅读次数:282
利用+=n连续保存或者输出n个数
for (int k = 0; k if (((k + 1) % 2) != 0) { m1 = (MealEntity) list.get(k); %> "> src="mealImg/.jpg" width="148" height="126" border="0" /> : 原价:人民币元 现价:人民币 元 "> ...
分类:其他好文   时间:2014-05-18 14:07:40    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!