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

Java/java/text/ChoiceFormat.fz


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

  # call Java instance method 'public void java.text.ChoiceFormat.applyPattern(java.lang.String)':
  #
  public applyPattern_Ljava_7_lang_7_String_s_(arg0 String) unit =>
    fuzion.java.call_virtual (unit) "java.text.ChoiceFormat" "applyPattern" "(Ljava/lang/String;)V" ChoiceFormat.this [(fuzion.java.string_to_java_object Java.java.text.ChoiceFormat.applyPattern_Ljava_7_lang_7_String_s_.this.arg0)]

  # call Java instance method 'public java.lang.Object[] java.text.ChoiceFormat.getFormats()':
  #
  public getFormats fuzion.java.Array (Java.java.lang.Object) =>
    fuzion.java.call_virtual (fuzion.java.Array (Java.java.lang.Object)) "java.text.ChoiceFormat" "getFormats" "()[Ljava/lang/Object;" ChoiceFormat.this []

  # call Java instance method 'public double[] java.text.ChoiceFormat.getLimits()':
  #
  public getLimits fuzion.java.Array (f64) =>
    fuzion.java.call_virtual (fuzion.java.Array (f64)) "java.text.ChoiceFormat" "getLimits" "()[D" ChoiceFormat.this []

  # call Java instance method 'public void java.text.ChoiceFormat.setChoices(double[],java.lang.String[])':
  #
  public setChoices__u00005b_D_u00005b_Ljava_7_lang_7_String_s_(arg0 Sequence (f64), arg1 Sequence (Java.java.lang.__jString)) unit =>
    fuzion.java.call_virtual (unit) "java.text.ChoiceFormat" "setChoices" "([D[Ljava/lang/String;)V" ChoiceFormat.this [(fuzion.java.array_to_java_object (f64) Java.java.text.ChoiceFormat.setChoices__u00005b_D_u00005b_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.text.ChoiceFormat.setChoices__u00005b_D_u00005b_Ljava_7_lang_7_String_s_.this.arg1)]

  # call Java instance method 'public java.lang.String java.text.ChoiceFormat.toPattern()':
  #
  public toPattern Java.java.lang.__jString =>
    fuzion.java.call_virtual (Java.java.lang.__jString) "java.text.ChoiceFormat" "toPattern" "()Ljava/lang/String;" ChoiceFormat.this []

  # short-hand to call Java method 'public void java.text.ChoiceFormat.applyPattern(java.lang.String)':
  #
  public applyPattern(arg0 String) (unit) =>
    applyPattern_Ljava_7_lang_7_String_s_ Java.java.text.ChoiceFormat.applyPattern.this.arg0

  # short-hand to call Java method 'public void java.text.ChoiceFormat.setChoices(double[],java.lang.String[])':
  #
  public setChoices(arg0 Sequence (f64), arg1 Sequence (Java.java.lang.__jString)) (unit) =>
    setChoices__u00005b_D_u00005b_Ljava_7_lang_7_String_s_ Java.java.text.ChoiceFormat.setChoices.this.arg0 Java.java.text.ChoiceFormat.setChoices.this.arg1