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

Java/java/lang/Readable.fz


# Fuzion interface to instance members of Java instance class 'java.lang.Readable'
#
# !!!!!!  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.java.lang.Readable(forbidden void) ref : fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public abstract int java.lang.Readable.read(java.nio.CharBuffer) throws java.io.IOException':
  #
  public read_Ljava_7_nio_7_CharBuffer_s_(arg0 Java.java.nio.CharBuffer) outcome (i32) =>
    fuzion.java.call_virtual (outcome (i32)) "java.lang.Readable" "read" "(Ljava/nio/CharBuffer;)I" Readable.this [(Java.java.lang.Readable.read_Ljava_7_nio_7_CharBuffer_s_.this.arg0)]

  # short-hand to call Java method 'public abstract int java.lang.Readable.read(java.nio.CharBuffer) throws java.io.IOException':
  #
  public read(arg0 Java.java.nio.CharBuffer) (outcome (i32)) =>
    read_Ljava_7_nio_7_CharBuffer_s_ Java.java.lang.Readable.read.this.arg0