Interface Addressable
- All Known Subinterfaces:
-
CLinker.VaList,MemoryAddress,MemorySegment
public interface Addressable
Represents a type which is addressable. An addressable type is one which can be projected down to a memory address instance (see
address()). Examples of addressable types are MemorySegment, MemoryAddress and CLinker.VaList.- Implementation Requirements:
- Implementations of this interface are value-based.
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
MemoryAddress |
address() |
Map this object into a MemoryAddress instance. |
Method Details
address
MemoryAddress address()
Map this object into a
MemoryAddress instance.- Returns:
- the
MemoryAddressinstance associated with this object.
© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/jdk.incubator.foreign/jdk/incubator/foreign/Addressable.html