码迷,mamicode.com
首页 >  
搜索关键字:basic    ( 4666个结果
Java中枚举类型的使用
虽然Java中有枚举类型这种数据类型,但是很少用,其实当用到星期、月份、四季等数据集的时候,无疑,枚举类型不仅很方便地解决了整数和字符串的映射问题,而且极大地提高了程序的可读性。 下面就用简单的程序代码来说明这种问题: 1.枚举类型自动赋值,默认情况下枚举变量从前到后分别被赋值为0、1、2、3、4、5....然后用循环的方式将枚举变量的名称和其对应的下标打印出来。...
分类:编程语言   时间:2015-08-18 10:18:09    阅读次数:95
PAT 1088. Rational Arithmetic (20)
1088. Rational Arithmetic (20)For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, ...
分类:其他好文   时间:2015-08-17 21:38:08    阅读次数:95
EasyUI 基本的拖动和放置
Basic Slider - jQuery EasyUI Demo
分类:其他好文   时间:2015-08-17 11:42:20    阅读次数:114
Leetcode - Insertion Sort List
It is quite a basic problem. However I spent half an hour solving it and made two mistakes. Guess it's because I haven't written some fundamental data...
分类:其他好文   时间:2015-08-17 09:59:08    阅读次数:120
秦晓波著的编写高质量代码-改善Java程序的151个建议一书中的线程解释错误.
位置: 建议127: Lock与synchronized是不一样的首先在概念上纠正这一篇内容:援引Java源码中关于ReentrantLock的开篇说明:* A reentrant mutual exclusion {@link Lock} with the same basic* behavior...
分类:编程语言   时间:2015-08-17 09:54:41    阅读次数:149
Linux学习笔记:系统启动引导过程
**BIOS**(Basic Input Output System):基本输入输出系统。其实,它是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序,它可从CMOS中读写系统设置的具体信息。...
分类:系统相关   时间:2015-08-17 01:02:54    阅读次数:180
TypeScript系列2-手册-基础类型
基础类型(Basic Types) ? 我们提供一些基础类型,比如数字(numbers)、字符串(strings)、结构(structures),布尔值(Boolean)等等。在TypeScript中,我们支持JavaScript中相同的类型,还提供枚举类型。 ...
分类:其他好文   时间:2015-08-16 19:58:51    阅读次数:215
[Notes] Be a Designer
动画12 basic principles of animationhttps://en.wikipedia.org/wiki/12_basic_principles_of_animationhttp://the12principles.tumblr.com GIFhttp://vimeo.com/...
分类:其他好文   时间:2015-08-16 19:36:32    阅读次数:123
[LeetCode]Basic Calculator
Basic CalculatorImplement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), t...
分类:其他好文   时间:2015-08-16 18:15:19    阅读次数:155
[LeetCode] Binary Tree Paths
The basic idea is to start fromrootand add it to the currentpath, then we recursively visit itsleftandrightsubtrees if they exist; otherwise, we have ...
分类:其他好文   时间:2015-08-16 11:58:51    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!