码迷,mamicode.com
首页 >  
搜索关键字:list dict    ( 58606个结果
freemarker报错之十一
1、错误描述 六月 03, 2014 11:00:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression nums is undefined on line 10, column 25 in list.ftl." Expression nums is...
分类:其他好文   时间:2014-06-20 12:59:50    阅读次数:229
JDK源码学习系列05----LinkedList
JDK源码学习系列05----LinkedList 1.LinkedList简介 LinkedList是基于双向链表实现的,它也可以被当作堆栈、队列或双端队列进行操作。 public class LinkedList extends AbstractSequentialList implements List, Deque, Cloneable, java.io.Serial...
分类:其他好文   时间:2014-06-20 12:54:28    阅读次数:205
Azure编程笔记(1):序列化复杂类型的TableEntity字段
在使用Microsoft Azure的CloudTable存储数据时,我们先要把数据定义成TableEntity的子类。如果TableEntity中包含复杂类型(比如容器类型如List等、或者自定义类型)的字段,这些字段需要自己做序列化才能保存到CloudTable中去。...
分类:其他好文   时间:2014-06-20 11:55:24    阅读次数:232
集合和泛型
List Class Stack Class Queue Class SortedSet Class System.Collections Class ArrayList 表示动态大小的对象集合,其中的对象是按顺序列出的 IList   ICollection   IEnumerable   ICloneable BitA...
分类:其他好文   时间:2014-06-20 10:13:11    阅读次数:190
Apple Swift
Swift 是一种兼顾了编译语言的效率和脚本语言的简洁的一种语言。 让我惊讶的是居然支持汉字作为变量的名称,而且还有模板的支持。 其他总的来讲它本身不具有特别与别人不同的东西,很多东西在其他的语言上已经都有了比较成熟的体现,比如JS中的var, python的dict, list, go的多返回值,看起来像是一个大杂烩,很像当年iphone刚刚面世的时候的场景,它所具有的功能,其他的手机基本上...
分类:移动开发   时间:2014-06-20 09:15:07    阅读次数:331
LeetCode: Convert Sorted List to Binary Search Tree [109]
【题目】 Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 【题意】 将一个有序链表转换成平衡二叉树 【思路】 思路跟Convert Sorted Array to Binary Search Tree完全一样...
分类:其他好文   时间:2014-06-07 16:20:05    阅读次数:287
STL标准容器类学习笔记之(Vector/Deque/List)
STL标准容器类学习笔记之(Vector/Deque/List)...
分类:其他好文   时间:2014-06-07 16:13:24    阅读次数:262
VMWare linux 虚拟机扩容
首先通过VMWare修改虚拟机参数,增加虚拟机磁盘空间(请参考相关资料),其次在虚拟机中加入扩容的磁盘空间。 1、使用parted查看可分配的空间 [root@stest ~]# parted GNU Parted 1.8.1 使用 /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (part...
分类:系统相关   时间:2014-06-07 15:34:37    阅读次数:296
Android 请求WebService 并且解析
直接上代码: 写一个Bean,封装数据 package com.mbl.wbsconn; import java.util.List; import java.util.Map; public class BaseBean { protected String usid; protected String pwd; protected String error; p...
分类:移动开发   时间:2014-06-07 15:17:20    阅读次数:405
Word Break
题目 Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For example, given s = "leetcode", dict =...
分类:其他好文   时间:2014-06-07 13:53:28    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!