>allocateArray</span><wbr><span class="parameters">(long&nbsp;elementCount,
 <a href="https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/SegmentAllocator.html" title="class or interface in java.lang.foreign" class="external-link">SegmentAllocator</a>&nbsp;allocator)</span></div>
<div class="block">Allocate an array of AutomationEvent</div>
</div>
</section>
</li>
<li>
<section class="detail" id="allocateArray(long)">
<h3>allocateArray</h3>
<div class="horizontal-scroll">
<div cla