软件包 | 描述 |
---|---|
java.lang.invoke |
java.lang.invoke 包中包含的动态语言支持的java核心类库和虚拟机直接提供。
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantCallSite
一个
ConstantCallSite 是
CallSite 其目标是永久的,而且永远不会改变。
|
class |
MutableCallSite
一个
MutableCallSite 是一个目标变量的行为像一个普通的领域
CallSite 。
|
class |
VolatileCallSite
一个
VolatileCallSite 是
CallSite 其目标行为一个volatile变量一样。
|
Modifier and Type | Method and Description |
---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, Object... args)
方便简单的“对象”,实现由一个或多个接口,一个代表团提供
MethodHandle 创作,经过适当的类型的适应和部分论据评价。
|
static CallSite |
LambdaMetafactory.metafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, MethodType samMethodType, MethodHandle implMethod, MethodType instantiatedMethodType)
方便简单的“对象”,实现由一个或多个接口,一个代表团提供
MethodHandle 创作,经过适当的类型的适应和部分论据评价。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.