码迷,mamicode.com
首页 >  
搜索关键字:list set map    ( 127567个结果
Windows下重置Mysql密码
1、首先停止正在运行的MySQL进程>net stop mysql如未加载为服务,可直接在进程管理器或者服务中进行关闭。2、以安全模式启动MySQL进入mysql目录在命令行下运行>d:>cd xampp/mysql/bin>mysqld.exe --skip-grant-tables3、完成以后就...
分类:数据库   时间:2014-05-01 08:33:41    阅读次数:393
Leetcode:Reorder List 单链表重排序
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it to ...
分类:其他好文   时间:2014-04-29 13:42:21    阅读次数:427
Json解析tool工具
JsonTools package com.example.weather_json.tools; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import co...
分类:Web程序   时间:2014-04-29 13:37:21    阅读次数:1039
const map 成员变量初始化例子
Author:DriverMonkey Mail:bookworepeng@Hotmail.com Phone:13410905075 QQ:196568501 #include #include #include #include #include #include using namespace std; class a_t { publi...
分类:其他好文   时间:2014-04-29 13:35:21    阅读次数:598
struts2 <s: select 标签取值
JSP页面: listValue="name"  key="name"   cssStyle="width:130px"> 后台: private  List navs; navs=navservice.allNav();调用dao层取得所有的值集合。 注: listValue="name"通过设置这个属性显示所有的select内容...
分类:其他好文   时间:2014-04-29 13:32:23    阅读次数:236
STL 之 map 源码剖析
/* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, ...
分类:其他好文   时间:2014-04-29 13:28:21    阅读次数:398
Struts工作机制图+OGNL+EL+值栈(Map,对象栈)
struts 值栈  通过get set方法 方便的获取,设置属性值      例如从jsp页面传来的参数。。。从Action设置jsp所要回显的内容...
分类:其他好文   时间:2014-04-29 13:16:21    阅读次数:256
set容器的实现
set容器是以红黑树容器为基础实现的,在其基础上稍加改变接口即可 #ifndef MY_SET_H_INCLUDED #define MY_SET_H_INCLUDED #include"my_rb_tree.h" namespace juine { template struct identity { const T& operator()(cons...
分类:其他好文   时间:2014-04-29 13:16:20    阅读次数:376
heat笔记之为diskimage-builder编写elements生成一个lamp镜像
建立elements目录 mkdir -p elements/lamp/install.d/ vim 70-lamp #!/bin/bash set -eux install-packages wordpress mariadb-server httpd memcached 生成一个带wordpress的镜像 export ELEMENTS_PATH=...
分类:其他好文   时间:2014-04-29 13:14:21    阅读次数:475
XMPP学习--建立管理类
参考了别人的demo之后发现建立一个管理类看起来舒服些,显得比较有条理…… 但在建立与服务器连接当中,发现 Connect Error: {     NSLocalizedDescription = "You must set myJID before calling connect."; } 这样的一个问题,知道是jid没有设置好,但是jid怎么设置呢?今天仍然没有弄清,如果有清楚...
分类:其他好文   时间:2014-04-29 13:13:20    阅读次数:352
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!