blob: 1c1d85508b3f258625b45ad34ed688261c687a95 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) -->
<title>JCImagePointer (OpenJ9 JDK 16)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: module: openj9.dtfj, package: com.ibm.dtfj.image.javacore, class: JCImagePointer">
<meta name="generator" content="javadoc/ClassWriterImpl">
<meta name="keywords" content="com.ibm.dtfj.image.javacore.JCImagePointer class">
<meta name="keywords" content="add()">
<meta name="keywords" content="getAddress()">
<meta name="keywords" content="getAddressSpace()">
<meta name="keywords" content="getPointerAt()">
<meta name="keywords" content="getShortAt()">
<meta name="keywords" content="isExecutable()">
<meta name="keywords" content="isReadOnly()">
<meta name="keywords" content="isShared()">
<meta name="keywords" content="getProperties()">
<meta name="keywords" content="getByteAt()">
<meta name="keywords" content="getDoubleAt()">
<meta name="keywords" content="getFloatAt()">
<meta name="keywords" content="getIntAt()">
<meta name="keywords" content="getLongAt()">
<meta name="keywords" content="hashCode()">
<meta name="keywords" content="equals()">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar.top">
<div class="skip-nav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<div class="about-language"><div style="margin-top: 9px;"><strong>OpenJ9 JDK 16</strong></div></div>
<ul id="navbar.top.firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="../../../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/JCImagePointer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip.navbar.top">
<!-- -->
</span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="module-label-in-type">Module</span>&nbsp;<a href="../../../../../module-summary.html">openj9.dtfj</a></div>
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">com.ibm.dtfj.image.javacore</a></div>
<h1 title="Class JCImagePointer" class="title">Class JCImagePointer</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">java.lang.Object</a>
<div class="inheritance">com.ibm.dtfj.image.javacore.JCImagePointer</div>
</div>
<section class="description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JCImagePointer</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a>
implements <a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor.summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><span class="member-name-link"><a href="#%3Cinit%3E(com.ibm.dtfj.image.javacore.JCImageAddressSpace,long)">JCImagePointer</a></span>&#8203;(<a href="JCImageAddressSpace.html" title="class in com.ibm.dtfj.image.javacore">JCImageAddressSpace</a>&nbsp;resident,
long&nbsp;localAddress)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method.summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#add(long)">add</a></span>&#8203;(long&nbsp;offset)</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Build a new image pointer offset from this one by the given amount.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a>&nbsp;obj)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Auto-generated by Eclipse 3.2.2</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>long</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getAddress()">getAddress</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the unwrapped address, represented as a Java long.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getAddressSpace()">getAddressSpace</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the address space to which this pointer belongs.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>byte</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getByteAt(long)">getByteAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getDoubleAt(long)">getDoubleAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>float</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getFloatAt(long)">getFloatAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getIntAt(long)">getIntAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>long</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getLongAt(long)">getLongAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getPointerAt(long)">getPointerAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getProperties()">getProperties</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the OS-specific properties for this address</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>short</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getShortAt(long)">getShortAt</a></span>&#8203;(long&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Get the value at the given offset from this pointer.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>int</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#hashCode()">hashCode</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Auto-generated by Eclipse 3.2.2</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#isExecutable()">isExecutable</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Tests memory execute permission.</div>
</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#isReadOnly()">isReadOnly</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Tests memory read/write permission.</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#isShared()">isShared</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Tests memory shared permission.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.java.lang.Object">Methods declared in class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link" target="_blank">clone</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link" target="_blank">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link" target="_blank">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link" target="_blank">notify</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link" target="_blank">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link" target="_blank">toString</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor.detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(com.ibm.dtfj.image.javacore.JCImageAddressSpace,long)">
<h3>JCImagePointer</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JCImagePointer</span>&#8203;<span class="parameters">(<a href="JCImageAddressSpace.html" title="class in com.ibm.dtfj.image.javacore">JCImageAddressSpace</a>&nbsp;resident,
long&nbsp;localAddress)</span>
throws <span class="exceptions"><a href="../../java/javacore/JCInvalidArgumentsException.html" title="class in com.ibm.dtfj.java.javacore">JCInvalidArgumentsException</a></span></div>
<dl class="notes">
<dt>Throws:</dt>
<dd><code><a href="../../java/javacore/JCInvalidArgumentsException.html" title="class in com.ibm.dtfj.java.javacore">JCInvalidArgumentsException</a></code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method.detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="add(long)">
<h3>add</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span>&nbsp;<span class="element-name">add</span>&#8203;<span class="parameters">(long&nbsp;offset)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#add(long)">ImagePointer</a></code></span></div>
<div class="block">Build a new image pointer offset from this one by the given amount.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#add(long)">add</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>offset</code> - Offset in bytes.</dd>
<dt>Returns:</dt>
<dd>a new ImagePointer based at getAddress() + offset</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAddress()">
<h3>getAddress</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getAddress</span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getAddress()">ImagePointer</a></code></span></div>
<div class="block"><p>Get the unwrapped address, represented as a Java long.</p>
<p> Use caution when comparing addresses, as some addresses may be
negative. </p>
<p>Note that, on segmented memory architectures, it may not be
possible to represent all addresses accurately as integers.</p></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getAddress()">getAddress</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>the unwrapped address, represented as a 64-bit integer.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAddressSpace()">
<h3>getAddressSpace</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../ImageAddressSpace.html" title="interface in com.ibm.dtfj.image">ImageAddressSpace</a></span>&nbsp;<span class="element-name">getAddressSpace</span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getAddressSpace()">ImagePointer</a></code></span></div>
<div class="block">Get the address space to which this pointer belongs.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getAddressSpace()">getAddressSpace</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>the address space to which this pointer belongs.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPointerAt(long)">
<h3>getPointerAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></span>&nbsp;<span class="element-name">getPointerAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getPointerAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer. To determine the number of bytes to skip after this
call to read the next value, use <code>ImageProcess.getPointerSize()</code>. Note: to create an
ImagePointer using an absolute address use <code>com.ibm.dtfj.image.ImageAddressSpace.getPointer()</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getPointerAt(long)">getPointerAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 32 or 64-bit pointer stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
<dt>See Also:</dt>
<dd><a href="../ImageProcess.html#getPointerSize()"><code>ImageProcess.getPointerSize()</code></a>,
<a href="../ImageAddressSpace.html#getPointer(long)"><code>ImageAddressSpace.getPointer(long)</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShortAt(long)">
<h3>getShortAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">short</span>&nbsp;<span class="element-name">getShortAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getShortAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getShortAt(long)">getShortAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 16-bit short stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isExecutable()">
<h3>isExecutable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isExecutable</span>()
throws <span class="exceptions"><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#isExecutable()">ImagePointer</a></code></span></div>
<div class="block">Tests memory execute permission.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#isExecutable()">isExecutable</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>true if this memory address is within an executable page.</dd>
<dt>Throws:</dt>
<dd><code><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isReadOnly()">
<h3>isReadOnly</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isReadOnly</span>()
throws <span class="exceptions"><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#isReadOnly()">ImagePointer</a></code></span></div>
<div class="block">Tests memory read/write permission.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#isReadOnly()">isReadOnly</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>true if this memory address is read-only. False otherwise.</dd>
<dt>Throws:</dt>
<dd><code><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isShared()">
<h3>isShared</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isShared</span>()
throws <span class="exceptions"><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#isShared()">ImagePointer</a></code></span></div>
<div class="block">Tests memory shared permission.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#isShared()">isShared</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>true if this memory address is shared between processes.</dd>
<dt>Throws:</dt>
<dd><code><a href="../DataUnavailable.html" title="class in com.ibm.dtfj.image">DataUnavailable</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProperties()">
<h3>getProperties</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></span>&nbsp;<span class="element-name">getProperties</span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getProperties()">ImagePointer</a></code></span></div>
<div class="block">Get the OS-specific properties for this address</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getProperties()">getProperties</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Returns:</dt>
<dd>a table of OS-specific properties for this address.
Values which are commonly available include
<ul>
<li>"readable" -- whether the memory address can be read from</li>
<li>"writable" -- whether the memory address can be written to</li>
<li>"executable" -- whether data in the memory address can be executed</li>
</ul></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getByteAt(long)">
<h3>getByteAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">byte</span>&nbsp;<span class="element-name">getByteAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getByteAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getByteAt(long)">getByteAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 8-bit byte stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDoubleAt(long)">
<h3>getDoubleAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getDoubleAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getDoubleAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getDoubleAt(long)">getDoubleAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 64-bit double stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFloatAt(long)">
<h3>getFloatAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">getFloatAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getFloatAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getFloatAt(long)">getFloatAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 32-bit float stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getIntAt(long)">
<h3>getIntAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getIntAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getIntAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getIntAt(long)">getIntAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 32-bit int stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLongAt(long)">
<h3>getLongAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getLongAt</span>&#8203;<span class="parameters">(long&nbsp;index)</span>
throws <span class="exceptions"><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a>,
<a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="../ImagePointer.html#getLongAt(long)">ImagePointer</a></code></span></div>
<div class="block">Get the value at the given offset from this pointer.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#getLongAt(long)">getLongAt</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - an offset (in bytes) from the current position</dd>
<dt>Returns:</dt>
<dd>the 64-bit long stored at getAddress() + index</dd>
<dt>Throws:</dt>
<dd><code><a href="../MemoryAccessException.html" title="class in com.ibm.dtfj.image">MemoryAccessException</a></code> - if the memory cannot be read</dd>
<dd><code><a href="../CorruptDataException.html" title="class in com.ibm.dtfj.image">CorruptDataException</a></code> - if the memory should be in the image, but is missing or corrupted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hashCode()">
<h3>hashCode</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">hashCode</span>()</div>
<div class="block">Auto-generated by Eclipse 3.2.2</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#hashCode()">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></code></dd>
<dt>Returns:</dt>
<dd>the receiver's hash.</dd>
<dt>See Also:</dt>
<dd><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank"><code>Object.equals(java.lang.Object)</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="equals(java.lang.Object)">
<h3>equals</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">equals</span>&#8203;<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a>&nbsp;obj)</span></div>
<div class="block">Auto-generated by Eclipse 3.2.2</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="../ImagePointer.html#equals(java.lang.Object)">equals</a></code>&nbsp;in interface&nbsp;<code><a href="../ImagePointer.html" title="interface in com.ibm.dtfj.image">ImagePointer</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></code></dd>
<dt>Parameters:</dt>
<dd><code>obj</code> - Object
the object to compare with this object.</dd>
<dt>Returns:</dt>
<dd>boolean
<code>true</code>
if the object is the same as this object
<code>false</code>
if it is different from this object.</dd>
<dt>See Also:</dt>
<dd><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank"><code>Object.hashCode()</code></a></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small><a href="https://www.eclipse.org/openj9/" target="_blank">Eclipse OpenJ9 website.</a><br> To raise a bug report or suggest an improvement create an <a href="https://github.com/eclipse-openj9/openj9/issues" target="_blank">Eclipse Openj9 issue.</a><br> Copyright &copy; 1998, 2021, IBM Corp. and others.</small></p>
</footer>
</div>
</div>
</body>
</html>