Package | Description |
---|---|
jdk.dynalink |
Dynalink is a library for dynamic linking of high-level operations on objects.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CompositeOperation |
Describes an operation that is composed of at least two other operations.
|
class |
NamedOperation |
Operation that associates a name with another operation.
|
class |
StandardOperation |
Defines the standard dynamic operations.
|
Modifier and Type | Method | Description |
---|---|---|
Operation |
NamedOperation.getBaseOperation() |
Returns the base operation of this named operation.
|
static Operation |
NamedOperation.getBaseOperation(Operation op) |
If the passed operation is a named operation, returns its
NamedOperation.getBaseOperation() , otherwise returns the operation as is. |
Operation |
CallSiteDescriptor.getOperation() |
Returns the operation at the call site.
|
Operation |
CompositeOperation.getOperation(int i) |
Returns the i-th component operation in this composite operation.
|
Operation[] |
CompositeOperation.getOperations() |
Returns the component operations in this composite operation.
|
static Operation[] |
CompositeOperation.getOperations(Operation op) |
Returns the components of the passed operation if it is a composite
operation, otherwise returns an array containing the operation itself.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
CompositeOperation.contains(Operation operation) |
Returns true if this composite operation contains an operation equal to
the specified operation.
|
static boolean |
CompositeOperation.contains(Operation composite,
Operation operation) |
Returns true if the specified potentially composite operation is a
CompositeOperation and contains an operation equal to the
specified operation. |
static Operation |
NamedOperation.getBaseOperation(Operation op) |
If the passed operation is a named operation, returns its
NamedOperation.getBaseOperation() , otherwise returns the operation as is. |
static Object |
NamedOperation.getName(Operation op) |
If the passed operation is a named operation, returns its
NamedOperation.getName() , otherwise returns null. |
static Operation[] |
CompositeOperation.getOperations(Operation op) |
Returns the components of the passed operation if it is a composite
operation, otherwise returns an array containing the operation itself.
|
Constructor | Description |
---|---|
CallSiteDescriptor(MethodHandles.Lookup lookup,
Operation operation,
MethodType methodType) |
Creates a new call site descriptor.
|
CompositeOperation(Operation... operations) |
Constructs a new composite operation.
|
NamedOperation(Operation baseOperation,
Object name) |
Creates a new named operation.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1