/** 将所有菜单组装成树 * @param classDTOList 数据库查询出来的所有菜单 * 菜单列表 * @return List */ private List assembleClassTree(List classDTOList) { List class...
分类:
其他好文 时间:
2015-08-07 13:08:03
阅读次数:
122
Lua本学习笔记功能1、 函数返回指定任务的主要功能是完成,在这种情况下,函数被用作调用语句。函数可以计算并返回值,在这种情况下,作为分配值表达式语句使用。语法:funcationfunc_name(arguments-list)Statements-listend调用函数的时候,假设參数列表为空,...
分类:
其他好文 时间:
2015-08-07 12:52:43
阅读次数:
148
编写listView最重要的就是编写适配器Adapter,adapter要完成以下几个工作 1,决定使用listview的子view 2,使用给listView显示数据的list 3,重写getView方法,为子view的控件设置内容另外还要准备编写子view以及显示数据的类,比如listvi...
分类:
其他好文 时间:
2015-08-07 12:50:46
阅读次数:
126
按照使用频率,对样式控制进行收集整理。一、ul1、控制li显示,去掉列表项的点。li {list-style-type:none;}2、控制li缩进的距离ul{margin-left:10px;}
分类:
Web程序 时间:
2015-08-07 12:42:45
阅读次数:
113
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/47334649
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are...
分类:
其他好文 时间:
2015-08-07 11:20:18
阅读次数:
114
package com.jy.modules.cms.query;import java.util.List;import java.util.Map;public interface queryJdbcTemplate { public List> gtQueryForListMa...
分类:
数据库 时间:
2015-08-07 11:02:42
阅读次数:
179
原文链接: http://blog.csdn.net/wxq1987525/article/details/74614611、设置CListCtrl选中行m_list.SetItemState( nIndex, LVIS_FOCUSED | LVIS_SELECTED, LVIS_FOCUSED |...
分类:
其他好文 时间:
2015-08-07 10:55:06
阅读次数:
162
List list = new List {"a", "a", "b", "b", "c", "c"}//(1)var varNew = new HashSet (list);foreach (string item in varNew) { Debug.Log ("item = " + it...
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:
其他好文 时间:
2015-08-07 01:39:05
阅读次数:
103
当两个模块功能相似,仅仅只是类型不同的时候,你会怎么办呢。请看以下代码:public class IntClass { List Intlist = new List(); public void AddList(int i) ...