自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

贾亮的专栏

Do something hard

  • 博客(6)
  • 资源 (5)
  • 收藏
  • 关注

转载 Java中的invokedynamic

invokedynamic字节码不能直接通过Java的编译器来直接生成的,它只有在碰到lambda的时候,会生成。那么我们如果来测试invokedynamic字节码呢。可以通过asm-all-4.0.jar来自己生成。其实这个命名主要是为了动态语言而生的,一般只有在写动态语言的解释器来需要用到。可以看看下面一个例子,来了解一下invokedynamic是如何生成的使用的。首

2014-12-12 11:21:51 1247 1

原创 Java8的lambda(3)

lambda和匿名类对普通的开发者来说,可以理解为lambda是匿名类的语法糖;但是实际上不是的,lambda是通过invokedynamic来实现的,而匿名类是通过正常的产生一个类来执行的。两者是完全不一样的。例如:package functional;/* * Implementing the interface by creating an * anonymo

2014-12-12 10:55:38 548

原创 Java8的lambda(3)

lambda和匿名类对普通的开发者来说,可以理解为lambda是匿名类的语法糖;但是实际上不是的,lambda是通过invokedynamic来实现的,而匿名类是通过正常的产生一个类来执行的。两者是完全不一样的。例如:package functional;/* * Implementing the interface by creating an * anonymous

2014-12-12 10:54:32 497

原创 Java8的lambda(2)

在开始之前,我先普及一下什么是Single Abstract Method interfaces (SAM Interfaces).简单的说就是只用一个函数的interface。例如Runnable,Comparable等;例如下面一个:package functional;@FunctionalInterfacepublic interface SimpleFuncInterf

2014-12-12 10:37:41 539

原创 Java8的lambda(1)

Java为什么要引入lambda,一句话就是为了在多核时代提高并发,因为lambda是一个闭包,和外界是独立的,多个lambda可以同时在多核上运行。lambda的两种简单的使用方法package defaults;import java.util.ArrayList;import java.util.List;public class Clazz2 { priva

2014-12-12 09:48:50 555

原创 Java8中的default方法

网上有很多的介绍,我就不详细的介绍了。比如:http://blog.csdn.net/wwwsssaaaddd/article/details/24213525它的本意就是为了不破坏现在interface的结构,但是又能给interface中追加新的方法。这里只说一下一个interface可以有多个default方法,default方法可以重载.例如:package

2014-12-12 08:52:24 715

Soft-Test.zip

Soft-Test sample ADC_tutorial DFT_TOC DSPSampling FunctionalTest RF_Test ScanSample SRAM

2021-01-20

SEMI E37-0298 HIGH-SPEED SECS MESSAGE SERVICES (HSMS) GENERIC.pdf

SEMI E37-0298 HIGH-SPEED SECS MESSAGE SERVICES (HSMS) GENERIC SERVICES

2021-01-20

RF engineering basic concepts the Smith chart.pdf

The Smith chart is a very valuable and important tool that facilitates interpretation of S-parameter measurements. This paper will give a brief overview on why and more importantly on how to use the chart. Its definition as well as an introduction on how to navigate inside the chart are illustrated. Useful examples show the broad possibilities for use of the chart in a variety of applications.

2020-05-05

Waveform Generation Language from Fluence Technology, Inc

The Waveform Generation Language (WGL) is a data description language. It is used to convey an editable ASCII representation of the data contained in a Waveform DataBase (WDB), allowing you to use your system’s text editor to fully customize the database

2020-04-29

Standard Test Interface Language (STIL) for Digital Test Vectors原版

Standard Test Interface Language (STIL) for Digital Test Vectors原版

2020-04-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除