Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/jdk/internal/foreign/layout/SequenceLayoutImpl.fz


# Fuzion interface to instance members of Java instance class 'jdk.internal.foreign.layout.SequenceLayoutImpl'
#
# !!!!!!  DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called 
# as follows:
#
#   ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.jdk.internal.foreign.layout.SequenceLayoutImpl(redef forbidden void) ref : Java.jdk.internal.foreign.layout.AbstractLayout(forbidden), fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public long jdk.internal.foreign.layout.SequenceLayoutImpl.elementCount()':
  #
  public elementCount i64 =>
    fuzion.java.call_virtual (i64) "jdk.internal.foreign.layout.SequenceLayoutImpl" "elementCount" "()J" SequenceLayoutImpl.this []

  # call Java instance method 'public java.lang.foreign.MemoryLayout jdk.internal.foreign.layout.SequenceLayoutImpl.elementLayout()':
  #
  public elementLayout Java.java.lang.foreign.MemoryLayout =>
    fuzion.java.call_virtual (Java.java.lang.foreign.MemoryLayout) "jdk.internal.foreign.layout.SequenceLayoutImpl" "elementLayout" "()Ljava/lang/foreign/MemoryLayout;" SequenceLayoutImpl.this []

  # call Java instance method 'public java.lang.foreign.SequenceLayout jdk.internal.foreign.layout.SequenceLayoutImpl.flatten()':
  #
  public flatten Java.java.lang.foreign.SequenceLayout =>
    fuzion.java.call_virtual (Java.java.lang.foreign.SequenceLayout) "jdk.internal.foreign.layout.SequenceLayoutImpl" "flatten" "()Ljava/lang/foreign/SequenceLayout;" SequenceLayoutImpl.this []

  # call Java instance method 'public java.lang.foreign.SequenceLayout jdk.internal.foreign.layout.SequenceLayoutImpl.reshape(long[])':
  #
  public reshape__u00005b_J(arg0 Sequence (i64)) Java.java.lang.foreign.SequenceLayout =>
    fuzion.java.call_virtual (Java.java.lang.foreign.SequenceLayout) "jdk.internal.foreign.layout.SequenceLayoutImpl" "reshape" "([J)Ljava/lang/foreign/SequenceLayout;" SequenceLayoutImpl.this [(fuzion.java.array_to_java_object (i64) Java.jdk.internal.foreign.layout.SequenceLayoutImpl.reshape__u00005b_J.this.arg0)]

  # call Java instance method 'public java.lang.foreign.SequenceLayout jdk.internal.foreign.layout.SequenceLayoutImpl.withElementCount(long)':
  #
  public withElementCount_J(arg0 i64) Java.java.lang.foreign.SequenceLayout =>
    fuzion.java.call_virtual (Java.java.lang.foreign.SequenceLayout) "jdk.internal.foreign.layout.SequenceLayoutImpl" "withElementCount" "(J)Ljava/lang/foreign/SequenceLayout;" SequenceLayoutImpl.this [(fuzion.java.i64_to_java_object Java.jdk.internal.foreign.layout.SequenceLayoutImpl.withElementCount_J.this.arg0)]

  # short-hand to call Java method 'public java.lang.foreign.SequenceLayout jdk.internal.foreign.layout.SequenceLayoutImpl.reshape(long[])':
  #
  public reshape(arg0 Sequence (i64)) (Java.java.lang.foreign.SequenceLayout) =>
    reshape__u00005b_J Java.jdk.internal.foreign.layout.SequenceLayoutImpl.reshape.this.arg0

  # short-hand to call Java method 'public java.lang.foreign.SequenceLayout jdk.internal.foreign.layout.SequenceLayoutImpl.withElementCount(long)':
  #
  public withElementCount(arg0 i64) (Java.java.lang.foreign.SequenceLayout) =>
    withElementCount_J Java.jdk.internal.foreign.layout.SequenceLayoutImpl.withElementCount.this.arg0