码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
Spark RDD详解
1、RDD是什么RDD:Spark的核心概念是RDD (resilientdistributed dataset),指的是一个只读的,可分区的分布式数据集,这个数据集的全部或部分可以缓存在内存中,在多次计算间重用。RDD的描述 Internally, each RDD is characterized by five main properties:A list of partitions A fu...
分类:其他好文   时间:2016-05-18 19:45:30    阅读次数:1064
linux 文件删除过程浅析
1.Linux文件删除原理 Linux是通过link的数量控制文件删除的,只有当文件不存在任何链接时,该文件才会被删除,一般每个文件有两个link计数器: i_count 和 i_nlink,从VFS inode结构体中可以找到: struct inode {struct hlist_node i_hash; /* hash链表的指针 */struct list_head i_...
分类:系统相关   时间:2016-05-18 19:38:08    阅读次数:379
1089. Insert or Merge (25)【排序】——PAT (Advanced Level) Practise
题目信息1089. Insert or Merge (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 BInsertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion so...
分类:编程语言   时间:2016-05-18 19:33:21    阅读次数:201
1097. Deduplication on a Linked List (25)【链表】——PAT (Advanced Level) Practise
题目信息1097. Deduplication on a Linked List (25)时间限制300 ms 内存限制65536 kB 代码长度限制16000 B Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute value...
分类:其他好文   时间:2016-05-18 19:33:10    阅读次数:164
1098. Insertion or Heap Sort (25)【排序】——PAT (Advanced Level) Practise
题目信息1098. Insertion or Heap Sort (25)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BAccording to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list...
分类:编程语言   时间:2016-05-18 19:31:52    阅读次数:152
Android wpa_supplcant 启动之--网络接口初始化
Wpa_supplicant为每个网络接口都分配了一个struct wpa_supplicant, 该结构体存储了一些必要信息例如 struct dl_list bss(扫描结果); struct wpa_config *conf(配置文件)等等。...
分类:移动开发   时间:2016-05-18 19:08:44    阅读次数:356
如何在Chrome谷歌浏览器下设置小于12px的字体
title ul{   list-style:none; } .first{   font-size:16px;   } .second{   font-size:14px;   } .third{   font-size:12px;   } .fourth{   font-size:10px;   }   16px   14px   12p...
分类:其他好文   时间:2016-05-18 19:00:25    阅读次数:126
【38】java的集合框架(容器框架)
Collection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即Collection的元素(Elements)。一些 Collection允许相同的元素而另一些不行。一些能排序而另一些不行。Java SDK不提供直接继承自Collection的类,Java SDK提供的类都是继承自Collection的“子接口”如List和Set。   所有实现C...
分类:编程语言   时间:2016-05-18 18:48:47    阅读次数:253
集合三_Set_HashSet和TreeSet
17.01_集合框架(HashSet存储字符串并遍历) A:Set集合概述及特点 通过API查看即可 和list相比,没有什么特殊方法,都是add(),toArray,asList等方法 B:案例演示 HashSet存储字符串并遍历 public class Demo1_HashSet { /** * set:无序(存取顺序不一致)、无索引、不可重复 * @param...
分类:其他好文   时间:2016-05-18 18:44:54    阅读次数:205
LinkedList源码解析
本解析源码来自JDK1.7 LinkedList许多方法是为了适配其实现的接口,本质上都是双向链表的操作LinkedList概要 基于双向链表,主要实现了List和Deque接口,Deque接口继承自Queue,所以LinkedList同时实现了Queue接口 由于其基于双向链表,操作需要操作连接指针数数较多,所以线性操作系数比ArrayList较大 插入删除快,随机访问慢 线程不安全,修改列表结...
分类:其他好文   时间:2016-05-18 18:23:00    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!