< prev index next >

src/java.base/share/classes/java/lang/foreign/SequenceLayout.java

Print this page
*** 24,11 ***
   */
  
  package java.lang.foreign;
  
  import jdk.internal.foreign.layout.SequenceLayoutImpl;
- import jdk.internal.javac.PreviewFeature;
  
  /**
   * A compound layout that denotes a homogeneous repetition of a given <em>element layout</em>.
   * The repetition count is said to be the sequence layout's <em>element count</em>. A sequence layout can be thought of as a
   * struct layout where the sequence layout's element layout is repeated a number of times that is equal to the sequence
--- 24,10 ---

*** 48,13 ***
   * }
   *
   * @implSpec
   * This class is immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
   *
!  * @since 19
   */
- @PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
  public sealed interface SequenceLayout extends MemoryLayout permits SequenceLayoutImpl {
  
  
      /**
       * {@return the element layout of this sequence layout}
--- 47,12 ---
   * }
   *
   * @implSpec
   * This class is immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
   *
!  * @since 22
   */
  public sealed interface SequenceLayout extends MemoryLayout permits SequenceLayoutImpl {
  
  
      /**
       * {@return the element layout of this sequence layout}
< prev index next >