码迷,mamicode.com
首页 >  
搜索关键字:first firstordefault    ( 14152个结果
POI----HSSF----API
HSSF----Horrible Spreadsheet Format 极讨厌的电子表格格式序号对象方法备注1HSSFWorkbook HSSFWorkbook wb = new HSSFWorkbook();HSSFSheet sheet = wb.createSheet("first sheet...
分类:Windows程序   时间:2014-05-21 22:27:20    阅读次数:610
head first 设计模式 策略模式
HEAD FIRST:策略模式定义了算法族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化独立于使用算法的客户。设计模式:定义一系列的算法,把它们一个个封装起来,并且使它们可以相互替换。本模式使得算法可独立于它的客户而变化。大话设计模式:它定义了算法家族,分别封装起来,让它们之间可以互相替...
分类:其他好文   时间:2014-05-21 20:48:42    阅读次数:313
异步FIFO
一、FIFO简介 FIFO是英文First In First Out 的缩写,是一种先进先出的数据缓存器,它与普通存储器的区别是没有外部读写地址线,这样使用起来非常简单,但缺点就是只能顺序写入数据,顺序的读出数据,其数据地址由内部读写指针自动加1完成,不能像普通存储器那样可以由地址线决定读取或写入....
分类:其他好文   时间:2014-05-21 18:57:44    阅读次数:239
Entity Framework Demo(一) 简单搭建环境
Entity Framwork(实体框架,简称EF)是ORM(Object Relational Mapping,对象映射关系)的一个解决方案。EF允许项目将数据库的表映射为实体,并封装了操作方法,方便开发人员直接操作数据库。EF有三种开发模式,分别是:Database First(数据库先行): ...
分类:其他好文   时间:2014-05-21 18:15:01    阅读次数:632
head first 设计模式 观察者模式
Head first 设计模式:定义了对象之间的一对多依赖,这样一来,当一个对象改变状态时,它的所有依赖者都会受到通知并自动更新。 让主题与观察者之间松耦合大话设计模式:定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象。这个主题对象在状态发生变化时,会通知所有观察者对象,使它们能....
分类:其他好文   时间:2014-05-21 17:41:46    阅读次数:341
LeetCode: First Missing Positive [040]
【题目】 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. 【题意】 给定一个数组,找出第一个缺失的正数。时间复杂度O(n) ...
分类:其他好文   时间:2014-05-21 17:13:07    阅读次数:219
Leetcode: Combinations
参考别人的code, 看似不难的题,其实挺费事的。思想还是:From this example, we can see that in the first position of the resulting combinations we can chose number 1-5. Assume t...
分类:其他好文   时间:2014-05-21 14:24:04    阅读次数:241
poj 3070 Fibonacci(矩阵快速幂)
Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn ? 1 + Fn ? 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are: 0, 1, 1, 2, 3, 5, 8, 13, 21, ...
分类:其他好文   时间:2014-05-21 09:39:15    阅读次数:231
rails中一个窗体多个模型——fields_for
借助field_for可以生成表单来处理两个或更多模型对象的数据先看一个官方的例子,一个表单中有person和permission两个模型,其中每个person包含一个permission First name: Last name: Admin : ...
分类:Windows程序   时间:2014-05-21 04:48:02    阅读次数:364
【Leetcode】Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-05-21 04:39:53    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!