- CMTime
Luyc_Han
CMTime一个用来描述视频时间的结构体。他有两个构造函数:\*CMTimeMake\*CMTimeMakeWithSeconds这两个的区别是\*CMTimeMake(a,b)a当前第几帧,b每秒钟多少帧.\*CMTimeMakeWithSeconds(a,b)a当前时间,b每秒钟多少帧.
- iOS 视频合成,拼接工具ZQVideoTool
tt大眼仔
ZQVideoTool对iOS视频合成和拼接进行了封装Demo地址:https://github.com/qigge/VideoTool工具方法从视频中取出图片/**从视频中取出图片*@paramvideo视频*@paramtime时间*@returnUIImage图片*/+(UIImage*)getImageFromVideo:(AVAsset*)videotime:(CMTime)time;从
- CMTime-基础使用
userName
1.CMTime结构体typedefstruct{CMTimeValuevalue;CMTimeScaletimescale;CMTimeFlagsflags;CMTimeEpochepoch;}CMTimevalue/timescale=seconds计算出代表的时间(秒)value代表分子timescale代表分母flags代表状态(通过位掩码实现)epoch暂不清楚2.CMTime意义从结构
- iOS 获取视频截图 以及 CMTimeMakeWithSeconds 与 CMTimeMake的区别
海耐射手
//获取网络视频的缩略图(UIImage*)getThumbnailImageFromVideoURL:(NSURL*)URLtime:(NSTimeInterval)videoTime{if(!URL)returnnil;UIImage*shotImage;AVURLAsset*asset=[[AVURLAssetalloc]initWithURL:URLoptions:nil];AVAsset
- [冷知识] 在视频处理中经常会用到CMTime
Zszen
cmtime由两部分组成,他们都是整数,他们一个是持续的时间,另一个是时间单位(系数)比如一个cmtime可以通过CMTimeMakeWithSeconds(.2,600)来创建之所以他们都是整数,就是为了避免小数产生的误差,后面的单位系数可以设置大于1的任意整数值,但最好能把秒转化过来后的时间长度是一个整数值。当两个cmtime进行加减乘除的时候,是要将单位系数进行最小公倍数处理再处理持续的时间
- iOS(Swift) 美颜,GPUImage,FaceU杂谈
简单coder
最近复习了下美颜的集成,这里记录一下直播三要素采集->美颜->推拉流本篇只是简单介绍下美颜的流程,附加一些demo测试基本概念CMSampleBuffer:CM开头为CoreMedia中的框架,它包含图像及图像外的信息,比如CMTime等等,CVPixelBuffer是typealiasCVPixelBuffer=CVImageBuffer,是一种图像数据,所以CMSampleBuffer很容易转
- CMTimeMake和CMTimeMakeWithSeconds 详解
TomatosX
CMTimeMake(a,b)a当前第几帧,b每秒钟多少帧。当前播放时间a/bCMTimeMakeWithSeconds(a,b)a当前时间,b每秒钟多少帧。CMTimeMakeCMTimeCMTimeMake(int64_tvalue,int32_ttimescale);CMTimeMake顧名思義就是用來建立CMTime用的,但是千萬別誤會他是拿來用在一般時間用的,CMTime可是專門用來表示
- 使用AVFoundation处理视频
_小沫
项目中有类似视频编辑的功能,之前都是直接使用AVFoundation开发完成,实际效果也不错;对于一些常见用法,现在花时间来个总结;基础CMTime资源时间(视频)AVAsset资源信息AVURLAsset根据URL路径创建的资源AVAssetTrack资源轨道,包括音频轨道和视频轨道AVMutableComposition包含多个轨道的资源集合,可以添加、删除轨道AVMutableComposi
- iOS-H264 硬解码
一轮圆月
iOS系统中H264硬解及显示说明苹果在iOS8.0系统之前,没有开放系统的硬件编码解码功能,不过MacOS系统一直有,被称为VideoToolBox的框架来处理硬件的编码和解码,终于在iOS8.0后,苹果将该框架引入iOS系统。一、VideoToolbox基本数据结构:1、CVPixelBuffer:编码前和解码后的图像数据结构;2、CMTime、CMClock和CMTimebase:时间戳相关
- CMTime,CMTimeMake CMTimeMakeWithSeconds
歌白尼
原地址:http://blog.csdn.net/chun799/article/details/8679264“CMTime可是專門用來表示影片時間用的類別,他的用法為:CMTimeMake(time,timeScale)time指的就是時間(不是秒),而時間要換算成秒就要看第二個參數timeScale了.timeScale指的是1秒需要由幾個frame構成(可以視為fps),因此真正要表達的時
- ios硬编解码videotoolbox---硬编码
ai___believe
一、videoToolbox的基本数据VideoToolbox视频编解码前后需要应用的数据结构进行说明。CVPixelBuffer:编码前和解码后的图像数据结构。此内容包含一系列的CVPixelBufferPool内容CMTime、CMClock和CMTimebase:时间戳相关。时间以64-bit/32-bit的形式出现。pixelBufferAttributes:字典设置.可能包括Width/
- CMTime简单介绍
jiangamh
通常开发者认为时间的呈现格式应该是浮点数据,我们一般使用NSTimeInterval,实际上它是简单的双精度double类型,只是typedef了一下,但是由于浮点型数据计算很容易导致精度的丢失,在一些要求高精度的应用场景显然不适合,于是苹果在CoreMedia框架中定义了CMTime数据类型作为时间的格式,类型定义如下:typedefstructCMTimeValuevalue;CMTimeSc
- AVPlayer的扩充知识
狒狒James_Leo
AVPlayItem的属性:###①duration:它是一个CMTime类型,它是一个枚举类型里面包含两个参数value,timeScale其中value表示帧数,timeScale表示每秒的帧数整个视屏的总时间为:value/timeScale(返回为秒用CGFloat接收);②有个status属性能监听视屏播放的状态
- GPUImageMovieWriter原生BUG(1)时间戳问题
Gongjia
GPUImageMovieWriter.m,默认的代码有个小bug,就是取时间戳的时候,先会取音频的时间戳,因为音频比视频编码要快,后面就一直取视频时间戳,这样就造成了第二帧可能比第一帧时间戳小原声的代码-(CMTime)duration{if(!CMTIME_IS_VALID(startTime))returnkCMTimeZero;if(!CMTIME_IS_NEGATIVE_INFINITY
- ios 媒体播放有关的时间之CMTime
木木有耳
Q:为什么媒体播放使用CMTime而不是和我们一般的时候一样使用NSTimeINterval?A:因为CMTime比NSTimeInterval更加精确,视频,有的地方需要准确的处理每一帧;
- 如何获取视频的第一帧
karthrine
截取视频的第一帧AVURLAsset:AVAsset的子类,此类主要用于获取多媒体的信息,包括视频、音频的类型、时长、每秒帧数,其实还可以用来获取视频的指定位置的缩略图。CMTime:CMTime一个用于描述多媒体帧数和播放速率的结构体,可以通过CMTimeMake(int64_tvalue,int32_ttimescale)来生成一个CMTime变量,value视频的总帧数,timescale是
- H264知识
一川烟草i蓑衣
VideoToolbox基本数据结构:(1)CVPixelBuffer:编码前和解码后的图像数据结构。(2)CMTime、CMClock和CMTimebase:时间戳相关。时间以64-bit/32-bit的形式出现。(3)CMBlockBuffer:编码后,结果图像的数据结构。(4)CMVideoFormatDescription:图像存储方式,编解码器等格式描述。(5)CMSampleBuffe
- 短视频从无到有 (三)CMTime详解
卢叁
CMTime定义通常开发者认为时间的呈现格式应该是浮点数据,我们一般使用NSTimeInterval,实际上它是简单的双精度double类型,可以表示不同场景中的时间。实际上,AVFoundation在AVAudioPlayer和AVAudioRecorder中处理时间问题时本身也会使用这个类型。虽然很多通用的开发环境使用双精度类型无法应用于更多的高级时基媒体的开发中。比如,一个单一舍入错误就会导
- ZooKeeper - 状态信息 Stat 的属性说明
weixin_30614109
运行%ZK_HOME%/bin目录下的zkCli.sh(zkCli.cmd),使用get命令可以获取指定ZNode的数据内容和属性信息。例如:[zk:localhost:2181(CONNECTED)12]get/zk-huey000cZxid=0x20000007cctime=WedMar0422:01:46CST2015mZxid=0x20000007cmtime=WedMar0422:01:
- ios avplayer播放完毕监听
a787188834
app苹果iOS类
//播放监听,可以监听到播放完毕,每秒处发一次,从播放后的第一秒触发,不是一播放就出发WeakObj(self)WeakObj(_voicePlayer)self.listenNer=[_voicePlayeraddPeriodicTimeObserverForInterval:CMTimeMakeWithSeconds(1,NSEC_PER_SEC)queue:NULLusingBlock:^(
- AVPlayer添加播放进度监听
MeteoriteMan
音视频
我看网上许多方案都是建立一个本地的Timer来循环获取当前player的播放进度.其实,苹果已经提供过有关的API:和AVPlayer进度有关API///添加监听.以及回调__weaktypeof(self)weakSelf=self;[_playeraddPeriodicTimeObserverForInterval:CMTimeMake(1.0,1.0)queue:dispatch_get_m
- ios 音乐合成(混合)
logcabin
iOS
直接上代码了:自己代码中的一段做为例子:仔细看应该能看明白。资源文件可以随便找两个音乐文件代替。-(void)setUpAndAddAudioAtPath:(NSURL*)assetURLtoComposition:(AVMutableComposition*)compositionstart:(CMTime)startdura:(CMTime)duraoffset:(CMTime)offset{
- 在Objective-C转换CMTime以人类可读的时间
YYT1992
转载:http://codego.net/9571996/在Objective-C转换CMTime以人类可读的时间iosobjective-cccocoa-touchcmtime所以,我从视频有。我该如何将它转换成一个漂亮的串像在照片应用程序的视频长度的标签。是否有处理呢?谢谢。AVURLAsset*videoAsset=[AVURLAssetURLAssetWithURL:urloptions:
- CMTimeMake和CMTimeMakeWithSeconds 详解
weixin_33919950
CMTimeMake(a,b) a当前第几帧,b每秒钟多少帧.当前播放时间a/bCMTimeMakeWithSeconds(a,b) a当前时间,b每秒钟多少帧.CMTimeMake CMTimeCMTimeMake(int64_tvalue,int32_ttimescale);CMTimeMake顧名思義就是用來建立CMTime用的,但是千萬別誤會他是拿來用在一般時間用的,CMTim
- 上传、音频、视频
weixin_30258027
InAppWebHTTPServerIOS获取摄像和本地中的资源goodIOS上传图片方法类PHP中上传多张图片iOS实现图片与视频一次性多选CMTimeMake和CMTimeMakeWithSeconds详解IOS获取摄像和本地中的资源IOS上传照片(自己的代码整理了一下)Github上的热门iOS开源项目:AFNetworking、MagicalRecord、BlocksKit以及XVim会报
- iOS 获取视频的第一帧 CMTimeMakeWithSeconds CMTimeMake
tikeyc
Objective-C
-(UIImage*)getVideoPreViewImage:(NSString*)videoURL{videoURL=@"http://vf1.mtime.cn/Video/2012/04/23/mp4/120423212602431929.mp4";AVURLAsset*asset=[[AVURLAssetalloc]initWithURL:[NSURLURLWithString:video
- iOS---------CMTimeMake和CMTimeMakeWithSeconds 详解
MR---ma
CMTimeMake(a,b) a当前第几帧,b每秒钟多少帧.当前播放时间a/bCMTimeMakeWithSeconds(a,b) a当前时间,b每秒钟多少帧.CMTimeMake CMTimeCMTimeMake(int64_tvalue,int32_ttimescale);CMTimeMake顧名思義就是用來建立CMTime用的,但是千萬別誤會他是拿來用在一般時間用的,CMTim
- 从影片中获取每一帧图片(包括第一帧)
Ansel_m
IOS
1.iphoneios取出视频的每一帧图片[mImageGeneratorgenerateCGImagesAsynchronouslyForTimes:[NSArrayarrayWithObject:[NSValuevalueWithCMTime:CMTimeMakeWithSeconds(time,NSEC_PER_SEC)]]completionHandler:^(CMTimerequeste
- iphone ios CMTime CMTimeMake CMTimeMakeWithSeconds 意义和作用
linzhiji
iphone
使用到CMTime的时候感觉很奇怪,我要的是第几秒的东西,直接赋值第几秒就ok,何必用什么CMTime呢,感觉画蛇添足。不过经一段时间的编码,感觉这么写还是有道理的。CMTime主要用在ios的AVFoundation的音视频编码中。看看定义:http://developer.apple.com/library/mac/#documentation/CoreMedia/Reference/CMTi
- ios硬编解码videotoolbox---硬解码
ai___believe
一、videoToolbox的基本数据VideoToolbox视频编解码前后需要应用的数据结构进行说明。CVPixelBuffer:编码前和解码后的图像数据结构。此内容包含一系列的CVPixelBufferPool内容CMTime、CMClock和CMTimebase:时间戳相关。时间以64-bit/32-bit的形式出现。pixelBufferAttributes:字典设置.可能包括Width/
- 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
&