码迷,mamicode.com
首页 >  
搜索关键字:lists    ( 2473个结果
谷歌下设置滚动条的css样式
.oLi-lists-scroll::-webkit-scrollbar { width:5px; padding:1px; background:url(../images/repeat-bar.png) repeat-y;}/* Track */.oLi-lists-scroll::-webki...
分类:Web程序   时间:2014-05-29 19:02:39    阅读次数:386
LeetCodeMerge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 对每一个排序链表都设置一个指针。每次讲指针指向的单元中最小值链接,直到所有指针为空。 public c...
分类:其他好文   时间:2014-05-28 09:59:54    阅读次数:263
对python生成器特性使用的好例子
1.对序列进行分组的函数(摘自web.py源码utils.py文件中) 1 def group(seq, size): 2 """ 3 Returns an iterator over a series of lists of length size from iterable. ...
分类:编程语言   时间:2014-05-28 04:21:00    阅读次数:365
不要对外公开泛型List成员
最近在阅读Framework Design Guidelines,本着现学现用的原则,于是就用FxCop工具对代码进行规范性检查时,发现了很多问题,其中包括命名以及一些设计上的规范。其中,Do not expose generic lists 这条设计规范引起了我的注意。该规范指出“不要在对象模型中...
分类:其他好文   时间:2014-05-26 12:32:20    阅读次数:294
Guava的常用方法示例
Guava Maven Dependency com.google.guava guava {guava.version}Guava 常用方法示例Lists实例化 ListList list = Lists.newArrayList();Maps实例化 MapMap>> map =...
分类:其他好文   时间:2014-05-26 10:53:50    阅读次数:233
UVA Tree Summing
题目如下:  Tree Summing  Background LISP was one of the earliest high-level programming languages and, withFORTRAN, is one of the oldest languages currently being used. Lists,wh...
分类:其他好文   时间:2014-05-25 21:39:51    阅读次数:276
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 single digit. Add the two numbers   and return i...
分类:其他好文   时间:2014-05-25 21:36:52    阅读次数:268
2E02-View-Lists-multiple -choice-list
介绍一个多选list /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
分类:其他好文   时间:2014-05-23 00:52:57    阅读次数:455
2E04-view-lists-slow-efficient-adapter
介绍自定一个的Adapter和list的监听 注意 1....
分类:其他好文   时间:2014-05-23 00:51:45    阅读次数:355
2E06-view-lists-separators
介绍通过方法 @Override public boolean areAllItemsEnabled() { return false; } @Override public boolean isEnabled(int position) { return !mStrings[position].startsWith("-"); } 设置list的可以选和不可选注意有...
分类:其他好文   时间:2014-05-22 23:08:09    阅读次数:388
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!