- CMU 15-445/645 Lab2-B+Tree Index
yyy_3y
CMU-15/445b树数据结构CMU15-445数据库
0.写在前面GitHub同步更新https://github.com/kaniel-outis/CMU15-445Lab2的地址:https://15445.courses.cs.cmu.edu/fall2020/project2/本文主要总结一下在写Lab2需要的基础知识以及Task的解决思路(不公开代码,如果有问题可以留言)。Lab2的主要内容是B+tree的定义和Insert、Delete操
- MYSQL数据库的实验总结_MySQL数据库基础总结
weixin_39993623
MYSQL数据库的实验总结
来源:实验楼链接:https://www.shiyanlou.com/courses/9一、开发准备#打开MySQL服务sudoservicemysqlstart#使用root用户登录,密码为空mysql-uroot二、查看数据库SHOWDATABASES三、新建数据库首先,我们创建一个数据库,给它一个名字,比如mysql_shiyan,以后的几次实验也是对mysql_shiyan这个数据库进行操
- 1047 Student List for Course——PAT甲级
灰末
数据结构算法c++
ZhejiangUniversityhas40,000studentsandprovides2,500courses.Nowgiventheregisteredcourselistofeachstudent,youaresupposedtooutputthestudentnamelistsofallthecourses.InputSpecification:Eachinputfilecontain
- redisearch安装与使用(超详细)
昨夜雨疏风zhou
笔记redis缓存java开发语言数据库
1,资料github:https://github.com/RedisJSON/RedisJSONwebsite:https://oss.redis.com/redisjson/社区:https://university.redis.com/#courses2,介绍RedisJSON是什么RedisJSON是一个Redis模块,它实现了JSON数据交换标准ECMA-404,作为原生数据类型。它允许
- 姚老师直播间第三场2018.5.9
锦华cara
姚老师直播间第三场开播了,老师已经到达直播间,大家赶快点击下方链接报名加入吧http://dushuhui.pm.xuehu365.com/#/courses/9358/detail让我们一起种下公益与智慧的好种子成功百分之百!我们承诺了您的成功,您承诺您的行动吗?图片发自App图片发自App图片发自App图片发自App图片发自App认定你的“事业伙伴”!图片发自App绿色的箭头就像播下的种子。图
- HBase过滤器
橙汁啤酒厂
大数据hbasepython数据库
HBase过滤器Get和Scan都支持过滤器,这些类提供的接口不能对行键、列名和列值进行过滤,但过滤器可以实现。过滤器的接口为Filter。所有的过滤器都在服务器端生效,防止过滤掉的数据被传到客户端;用户可以在客户端代码实现过滤的功能,但会影响系统性能。1.表的数据hbase(main):022:0>scan'scores'ROWCOLUMN+CELL1column=courses:java,ti
- Python-138 批量修改文件名中的空格替换为下划线 renaming file names 2022-02-19
RashidinAbdu
工作中遇到这个问题,为此分享一下代码:只需要给定文件路径和文件类型(用以判断文件类型),然后就会对所存在的字符串进行替换!#-*-coding:utf-8-*-importos,sys#Python根据条件修改目录里的文件名:将不想要的删去或者替换掉#设定文件路径path='D:\\GRAD_COURSES\\Ph.D_Publications\\2021_Publications\\Merged
- Spring Aop:三、使用 AspectJ 框架实现 Spring AOP
weihy
本文参考实验楼教程:https://www.shiyanlou.com/courses/578/learning/?id=1940AspectJ是基于注解(Annotation)的,所以需要JDK5.0版本以上。本文实验环境延用之SpringAop:一、四种advice的实验环境。AspectJ支持的注解类型如下:@Before@After@AfterReturning@AfterThrowing
- OC - Model写法
Timidvb
新建文件时选择继承NSObject对于每个参数@property(strong,nonatomic)NSString*name;@property(strong,nonatomic)NSNumber*age;以此类推。在使用Model时要先import#import"Course"@property(strong,nonatomic)NSArray*courses;
- 最小二乘法的计算复杂度Computational complexity of least square regression operation
知识在于积累
数学大类专栏最小二乘法算法
https://math.stackexchange.com/questions/84495/computational-complexity-of-least-square-regression-operationhttps://courses.grainger.illinois.edu/cs357/fa2021/notes/ref-17-least-squares.html
- MySQL数据库应用实验报告——实验1 表结构创建
NLxxxxX
数据库
实验1表结构创建创建用于大学管理的高校管理数据库,数据库名为GXGL,包含学生的信息,教学单位信息、专业信息,教职工信息、课程的相关信息以及学生选课信息。数据库GXGL包含下列六个表:(1)Students:学生信息表(2)Departments:教学院系信息表(3)major:专业信息表(4)Courses:课程信息表(5)Teacher:教职工人事信息表(6)SC:选课信息表其中,表Stude
- 【华为云】云上两地三中心实践实操
山河已无恙
华为云华为云数据库服务器
写在前面应用上云之后,如何进行数据可靠性以及业务连续性的保障是非常关键的,通过华为云云上两地三中心方案了解相关方案认证地址:https://connect.huaweicloud.com/courses/learn/course-v1:HuaweiX+CBUCNXI057+Self-paced/about当前内容为华为云SDRS服务以及CBR服务实际使用SDRS用于同域不同可用区容灾,CBR用于不
- 【华为云】容灾方案两地三中心实践理论
山河已无恙
华为云华为云数据库服务器
应用上云之后,如何进行数据可靠性以及业务连续性的保障是非常关键的,通过华为云云上两地三中心方案了解相关方案认证地址:https://connect.huaweicloud.com/courses/learn/course-v1:HuaweiX+CBUCNXI057+Self-paced/about当前内容为灾备常见理论以及华为云SDRS以及CBR介绍理解不足小伙伴帮忙指正不必太纠结于当下,也不必太
- MIT | 数据分析、信号处理和机器学习中的矩阵方法 笔记系列 Lecture 5 Positive Definite and Semidefinite Matrices
R.X. NLOS
#矩阵理论(MITGilbertStrang)数据分析机器学习矩阵MIT正定矩阵
本系列为MITGilbertStrang教授的"数据分析、信号处理和机器学习中的矩阵方法"的学习笔记。GilbertStrang&SarahHansen|Sprint201818.065:MatrixMethodsinDataAnalysis,SignalProcessing,andMachineLearning视频网址:https://ocw.mit.edu/courses/18-065-mat
- python绘制每日的时序图_Python-100-Days
weixin_39553423
python绘制每日的时序图
Python-100天从新手到大师作者:骆昊说明:从项目上线到获得8w+星标以来,一直收到反馈说基础部分(前15天的内容)对新手来说是比较困难的,建议有配套视频进行讲解。最近把基础部分的内容重新创建了一个名为“Python-Core-50-Courses”的项目,用更为简单通俗的方式重写了这部分内容并附带了视频讲解,初学者可以关注下这个新项目。国内用户如果访问GitHub比较慢的话,也可以关注我的
- 【SQL高频基础题】596.超过5名学生的课
程序员大雨
java开发语言
题目:表:Courses+-------------+---------+|ColumnName|Type|+-------------+---------+|student|varchar||class|varchar|+-------------+---------+在SQL中,(student,class)是该表的主键列。该表的每一行表示学生的名字和他们注册的班级。查询至少有5个学生的所有班
- 【FPGA开源项目分享】街机弹球机的模拟
Terasic友晶科技
【FPGA开源项目分享】fpga开发
今天继续康奈尔大学FPGA课程ECE5760的典型案例分享——街机弹球机的模拟。(更多其他案例请参考网站:FinalProjectsECE5760https://people.ece.cornell.edu/land/courses/ece5760/FinalProjects/)1.项目概述项目网址indexhttps://people.ece.cornell.edu/land/courses/e
- 每周分享-2018-46
tiramisu916
技术1,confusionmatrix,FWER,FDR,BH-FDR,pFDRhttp://www.gs.washington.edu/academics/courses/akey/56008/lecture/lecture10.pdf控制TypeIError有不同的方法。FWER,familywiseerrorrate,要控制的是:P(V>=1)1)singlestepcorrection:B
- MIT18.06线性代数课程笔记20:矩阵逆元计算、克里默法则 以及 行列式与volume、外积的关系
silent56_th
mit18-06麻省理工线性代数矩阵矩阵求逆
课程简介18.06是GilbertStrang教授在MIT开的线性代数公开课,课程视频以及相关资料请见https://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/index.htm。课程笔记利用代数余子式计算方阵的逆元,进而求解Ax=b,最后简要阐述了行列式与volume的关系,并对外积做了简要介绍。文中所用图取
- web蓝桥杯真题--13、水果摆盘
畏迁c
蓝桥杯真题web前端蓝桥杯职场和发展
背景介绍目前CSS3中新增的Flex弹性布局已经成为前端页面布局的首选方式,这次试题将利用Flex实现经典布局效果。准备步骤在开始答题前,你需要在线上环境终端中键入以下命令,下载并解压所提供的文件。wgethttps://labfile.oss.aliyuncs.com/courses/7835/fruit-flex.zip&&unzipfruit-flex.zip&&rmfruit-flex.z
- 讲解:Grads Only、Network、Matlab、MatlabProcessing|P
zaixiangmo
2018/11/22HomeworkSeven(GradsOnly)https://elearning.mines.edu/courses/9621/assignments/419371/12HomeworkSeven(GradsOnly)DueDec3by3pmPoints100SubmittingafileuploadAvailableafterOct31at12amSubmitAssignm
- 慢性腰痛的认知行为疗法-1
卡卡不是卡卡
今日发现一个免费课程,叫CognitiveBehaviouralSkillstoTreatBackpain(认知行为疗法),原网址为https://www.futurelearn.com/courses/back-skills-training-programme内容由牛津大学CentreforRehabilitationResearchinOxford(RRiO)团队制作,且发展和总结了一个团队
- 【蓝桥杯EDA设计与开发】资料汇总以及立创EDA及PCB相关技术资料汇总(持续更新)
喜暖知寒
开发项目小知识点蓝桥杯嵌入式硬件
[18/01/2024]:目前为了准备蓝桥杯做一些资料贴,于是写下这一篇博客。各种资料均来源于网络以及部分书籍、手册等文档,参考不保证其准确性。如果在准备蓝桥杯,可与我私信共同学习!!!(2014年)蓝桥杯历年题目大部分的学习和参考资料都可在蓝桥云课上找到。蓝桥杯大赛历届真题_蓝桥杯-蓝桥云课(lanqiao.cn)https://www.lanqiao.cn/courses/2786题目分析一共
- 多重集合(multiset)和多重映射(multimap)
zjn15000
c++
首先看关联容器分类:多重集合是允许有重复元素的集合,多重映射是允许一个键对应多个数据的映射。示例代码:#include#include#include#includeusingnamespacestd;intmain(){multimapcourses;//定义多重映射typedefmultimap::iteratorCourseiteral;courses.insert(make_pair(“C
- web蓝桥杯真题--7、echarts 柱形图
畏迁c
蓝桥杯真题web前端echartsjavascript
背景介绍随着大数据的发展,数据统计在很多应用中显得不可或缺,echarts作为一款基于JavaScript的数据可视化图表库,也成为了前端开发的必备技能,下面我们一起来用echarts开发一个学生数据统计的柱形图。准备步骤在开始答题前,你需要在线上环境终端中键入以下命令,下载并解压所提供的文件。wgethttps://labfile.oss.aliyuncs.com/courses/7835/ec
- 力扣白嫖日记(sql)
Gary.Li
力扣刷题leetcodesql数据库
前言练习sql语句,所有题目来自于力扣(https://leetcode.cn/problemset/database/)的免费数据库练习题。今日题目:175.组合两个表表:Courses列名类型studentvarcharclassvarchar在SQL中,(student,class)是该表的主键列。该表的每一行表示学生的名字和他们注册的班级。查询至少有5个学生的所有班级。以任意顺序返回结果表
- SQL入门15
Z_JockerXue
数据库系统概念sql数据库
一、算法函数1、AVG()函数,求数值列的平均值它可以用来返回所有列的平均值,也可以用来返回特定列和行的平均值。具体的计算过程为:其通过对表中行数计数并计算特定数值列的列值之和,求得该列的平均值。但是当参数column_name列中的数据均为空时,结果会返回NULL。语法:selectavg(column_name)fromtable_name;例子:计算课程表courses中学生上课人数stud
- Qt中c++结构体与json互转
星尘の约束
Qtc++qtjson
模型类的定义和转换考虑以下json字符串:{"name":"class1","room":1,"courses":["math","english","physics","chemistry","biology"],"teacher":{"name":"Tony","score":99.9},"students":[{"name":"Alice","age":12,"score_avg":90.4
- linux常见操作,and一些练习题加线上练习网站,无须配置linux.持续更新中。。。。
zz的学习记录
linux运维服务器
文章目录cd命令相对路径特殊的路径表达符和cd一起使用pwdmore查看文件内容支持翻页小技巧clear用户,用户权限and用户的切换如何创建用户ls和通配符的使用利用通配符*grep过滤管道符|如何学习Linux在线练习网站https://www.lanqiao.cn/courses/1cd命令cd命令是用来实现路径的切换的.那么加上面的命令我们就可以有,在进行目录切换的过程中请多使用Tab键自
- GPT小指南
ustc懒苗
gpt人工智能python算法网络
GPT小指南个人总结,补充找我,打个广告,CHATGPTplus143,Midjourney也可以找我,私信就可以总结的遗漏很多,你可以通过评论或者私信我补充每一个细节首先建议学习https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/吴恩达和openai合作出的视频为不熟悉的人准备:为
- java的(PO,VO,TO,BO,DAO,POJO)
Cb123456
VOTOBOPOJODAO
转:
http://www.cnblogs.com/yxnchinahlj/archive/2012/02/24/2366110.html
-------------------------------------------------------------------
O/R Mapping 是 Object Relational Mapping(对象关系映
- spring ioc原理(看完后大家可以自己写一个spring)
aijuans
spring
最近,买了本Spring入门书:spring In Action 。大致浏览了下感觉还不错。就是入门了点。Manning的书还是不错的,我虽然不像哪些只看Manning书的人那样专注于Manning,但怀着崇敬 的心情和激情通览了一遍。又一次接受了IOC 、DI、AOP等Spring核心概念。 先就IOC和DI谈一点我的看法。IO
- MyEclipse 2014中Customize Persperctive设置无效的解决方法
Kai_Ge
MyEclipse2014
高高兴兴下载个MyEclipse2014,发现工具条上多了个手机开发的按钮,心生不爽就想弄掉他!
结果发现Customize Persperctive失效!!
有说更新下就好了,可是国内Myeclipse访问不了,何谈更新...
so~这里提供了更新后的一下jar包,给大家使用!
1、将9个jar复制到myeclipse安装目录\plugins中
2、删除和这9个jar同包名但是版本号较
- SpringMvc上传
120153216
springMVC
@RequestMapping(value = WebUrlConstant.UPLOADFILE)
@ResponseBody
public Map<String, Object> uploadFile(HttpServletRequest request,HttpServletResponse httpresponse) {
try {
//
- Javascript----HTML DOM 事件
何必如此
JavaScripthtmlWeb
HTML DOM 事件允许Javascript在HTML文档元素中注册不同事件处理程序。
事件通常与函数结合使用,函数不会在事件发生前被执行!
注:DOM: 指明使用的 DOM 属性级别。
1.鼠标事件
属性  
- 动态绑定和删除onclick事件
357029540
JavaScriptjquery
因为对JQUERY和JS的动态绑定事件的不熟悉,今天花了好久的时间才把动态绑定和删除onclick事件搞定!现在分享下我的过程。
在我的查询页面,我将我的onclick事件绑定到了tr标签上同时传入当前行(this值)参数,这样可以在点击行上的任意地方时可以选中checkbox,但是在我的某一列上也有一个onclick事件是用于下载附件的,当
- HttpClient|HttpClient请求详解
7454103
apache应用服务器网络协议网络应用Security
HttpClient 是 Apache Jakarta Common 下的子项目,可以用来提供高效的、最新的、功能丰富的支持 HTTP 协议的客户端编程工具包,并且它支持 HTTP 协议最新的版本和建议。本文首先介绍 HTTPClient,然后根据作者实际工作经验给出了一些常见问题的解决方法。HTTP 协议可能是现在 Internet 上使用得最多、最重要的协议了,越来越多的 Java 应用程序需
- 递归 逐层统计树形结构数据
darkranger
数据结构
将集合递归获取树形结构:
/**
*
* 递归获取数据
* @param alist:所有分类
* @param subjname:对应统计的项目名称
* @param pk:对应项目主键
* @param reportList: 最后统计的结果集
* @param count:项目级别
*/
public void getReportVO(Arr
- 访问WEB-INF下使用frameset标签页面出错的原因
aijuans
struts2
<frameset rows="61,*,24" cols="*" framespacing="0" frameborder="no" border="0">
- MAVEN常用命令
avords
Maven库:
http://repo2.maven.org/maven2/
Maven依赖查询:
http://mvnrepository.com/
Maven常用命令: 1. 创建Maven的普通java项目: mvn archetype:create -DgroupId=packageName 
- PHP如果自带一个小型的web服务器就好了
houxinyou
apache应用服务器WebPHP脚本
最近单位用PHP做网站,感觉PHP挺好的,不过有一些地方不太习惯,比如,环境搭建。PHP本身就是一个网站后台脚本,但用PHP做程序时还要下载apache,配置起来也不太很方便,虽然有好多配置好的apache+php+mysq的环境,但用起来总是心里不太舒服,因为我要的只是一个开发环境,如果是真实的运行环境,下个apahe也无所谓,但只是一个开发环境,总有一种杀鸡用牛刀的感觉。如果php自己的程序中
- NoSQL数据库之Redis数据库管理(list类型)
bijian1013
redis数据库NoSQL
3.list类型及操作
List是一个链表结构,主要功能是push、pop、获取一个范围的所有值等等,操作key理解为链表的名字。Redis的list类型其实就是一个每个子元素都是string类型的双向链表。我们可以通过push、pop操作从链表的头部或者尾部添加删除元素,这样list既可以作为栈,又可以作为队列。
&nbs
- 谁在用Hadoop?
bingyingao
hadoop数据挖掘公司应用场景
Hadoop技术的应用已经十分广泛了,而我是最近才开始对它有所了解,它在大数据领域的出色表现也让我产生了兴趣。浏览了他的官网,其中有一个页面专门介绍目前世界上有哪些公司在用Hadoop,这些公司涵盖各行各业,不乏一些大公司如alibaba,ebay,amazon,google,facebook,adobe等,主要用于日志分析、数据挖掘、机器学习、构建索引、业务报表等场景,这更加激发了学习它的热情。
- 【Spark七十六】Spark计算结果存到MySQL
bit1129
mysql
package spark.examples.db
import java.sql.{PreparedStatement, Connection, DriverManager}
import com.mysql.jdbc.Driver
import org.apache.spark.{SparkContext, SparkConf}
object SparkMySQLInteg
- Scala: JVM上的函数编程
bookjovi
scalaerlanghaskell
说Scala是JVM上的函数编程一点也不为过,Scala把面向对象和函数型编程这两种主流编程范式结合了起来,对于熟悉各种编程范式的人而言Scala并没有带来太多革新的编程思想,scala主要的有点在于Java庞大的package优势,这样也就弥补了JVM平台上函数型编程的缺失,MS家.net上已经有了F#,JVM怎么能不跟上呢?
对本人而言
- jar打成exe
bro_feng
java jar exe
今天要把jar包打成exe,jsmooth和exe4j都用了。
遇见几个问题。记录一下。
两个软件都很好使,网上都有图片教程,都挺不错。
首先肯定是要用自己的jre的,不然不能通用,其次别忘了把需要的lib放到classPath中。
困扰我很久的一个问题是,我自己打包成功后,在一个同事的没有装jdk的电脑上运行,就是不行,报错jvm.dll为无效的windows映像,如截图
最后发现
- 读《研磨设计模式》-代码笔记-策略模式-Strategy
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/*
策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。策略模式让算法独立于使用它的客户而独立变化
简单理解:
1、将不同的策略提炼出一个共同接口。这是容易的,因为不同的策略,只是算法不同,需要传递的参数
- cmd命令值cvfM命令
chenyu19891124
cmd
cmd命令还真是强大啊。今天发现jar -cvfM aa.rar @aaalist 就这行命令可以根据aaalist取出相应的文件
例如:
在d:\workspace\prpall\test.java 有这样一个文件,现在想要将这个文件打成一个包。运行如下命令即可比如在d:\wor
- OpenJWeb(1.8) Java Web应用快速开发平台
comsci
java框架Web项目管理企业应用
OpenJWeb(1.8) Java Web应用快速开发平台的作者是我们技术联盟的成员,他最近推出了新版本的快速应用开发平台 OpenJWeb(1.8),我帮他做做宣传
OpenJWeb快速开发平台以快速开发为核心,整合先进的java 开源框架,本着自主开发+应用集成相结合的原则,旨在为政府、企事业单位、软件公司等平台用户提供一个架构透
- Python 报错:IndentationError: unexpected indent
daizj
pythontab空格缩进
IndentationError: unexpected indent 是缩进的问题,也有可能是tab和空格混用啦
Python开发者有意让违反了缩进规则的程序不能通过编译,以此来强制程序员养成良好的编程习惯。并且在Python语言里,缩进而非花括号或者某种关键字,被用于表示语句块的开始和退出。增加缩进表示语句块的开
- HttpClient 超时设置
dongwei_6688
httpclient
HttpClient中的超时设置包含两个部分:
1. 建立连接超时,是指在httpclient客户端和服务器端建立连接过程中允许的最大等待时间
2. 读取数据超时,是指在建立连接后,等待读取服务器端的响应数据时允许的最大等待时间
在HttpClient 4.x中如下设置:
HttpClient httpclient = new DefaultHttpC
- 小鱼与波浪
dcj3sjt126com
一条小鱼游出水面看蓝天,偶然间遇到了波浪。 小鱼便与波浪在海面上游戏,随着波浪上下起伏、汹涌前进。 小鱼在波浪里兴奋得大叫:“你每天都过着这么刺激的生活吗?简直太棒了。” 波浪说:“岂只每天过这样的生活,几乎每一刻都这么刺激!还有更刺激的,要有潮汐变化,或者狂风暴雨,那才是兴奋得心脏都会跳出来。” 小鱼说:“真希望我也能变成一个波浪,每天随着风雨、潮汐流动,不知道有多么好!” 很快,小鱼
- Error Code: 1175 You are using safe update mode and you tried to update a table
dcj3sjt126com
mysql
快速高效用:SET SQL_SAFE_UPDATES = 0;下面的就不要看了!
今日用MySQL Workbench进行数据库的管理更新时,执行一个更新的语句碰到以下错误提示:
Error Code: 1175
You are using safe update mode and you tried to update a table without a WHERE that
- 枚举类型详细介绍及方法定义
gaomysion
enumjavaee
转发
http://developer.51cto.com/art/201107/275031.htm
枚举其实就是一种类型,跟int, char 这种差不多,就是定义变量时限制输入的,你只能够赋enum里面规定的值。建议大家可以看看,这两篇文章,《java枚举类型入门》和《C++的中的结构体和枚举》,供大家参考。
枚举类型是JDK5.0的新特征。Sun引进了一个全新的关键字enum
- Merge Sorted Array
hcx2013
array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.
Note:You may assume that nums1 has enough space (size that is
- Expression Language 3.0新特性
jinnianshilongnian
el 3.0
Expression Language 3.0表达式语言规范最终版从2013-4-29发布到现在已经非常久的时间了;目前如Tomcat 8、Jetty 9、GlasshFish 4已经支持EL 3.0。新特性包括:如字符串拼接操作符、赋值、分号操作符、对象方法调用、Lambda表达式、静态字段/方法调用、构造器调用、Java8集合操作。目前Glassfish 4/Jetty实现最好,对大多数新特性
- 超越算法来看待个性化推荐
liyonghui160com
超越算法来看待个性化推荐
一提到个性化推荐,大家一般会想到协同过滤、文本相似等推荐算法,或是更高阶的模型推荐算法,百度的张栋说过,推荐40%取决于UI、30%取决于数据、20%取决于背景知识,虽然本人不是很认同这种比例,但推荐系统中,推荐算法起的作用起的作用是非常有限的。
就像任何
- 写给Javascript初学者的小小建议
pda158
JavaScript
一般初学JavaScript的时候最头痛的就是浏览器兼容问题。在Firefox下面好好的代码放到IE就不能显示了,又或者是在IE能正常显示的代码在firefox又报错了。 如果你正初学JavaScript并有着一样的处境的话建议你:初学JavaScript的时候无视DOM和BOM的兼容性,将更多的时间花在 了解语言本身(ECMAScript)。只在特定浏览器编写代码(Chrome/Fi
- Java 枚举
ShihLei
javaenum枚举
注:文章内容大量借鉴使用网上的资料,可惜没有记录参考地址,只能再传对作者说声抱歉并表示感谢!
一 基础 1)语法
枚举类型只能有私有构造器(这样做可以保证客户代码没有办法新建一个enum的实例)
枚举实例必须最先定义
2)特性
&nb
- Java SE 6 HotSpot虚拟机的垃圾回收机制
uuhorse
javaHotSpotGC垃圾回收VM
官方资料,关于Java SE 6 HotSpot虚拟机的garbage Collection,非常全,英文。
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
Java SE 6 HotSpot[tm] Virtual Machine Garbage Collection Tuning
&