Java/sun/net/InetAddressCachePolicy_static.fz
# Fuzion interface to static members of Java class 'sun.net.InetAddressCachePolicy'
#
# !!!!!! 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.sun.net.InetAddressCachePolicy_static is
# call Java static method 'public static int sun.net.InetAddressCachePolicy.get()':
#
public get i32 =>
fuzion.java.call_static (i32) "sun.net.InetAddressCachePolicy" "get" "()I" []
# call Java static method 'public static int sun.net.InetAddressCachePolicy.getNegative()':
#
public getNegative i32 =>
fuzion.java.call_static (i32) "sun.net.InetAddressCachePolicy" "getNegative" "()I" []
# call Java static method 'public static int sun.net.InetAddressCachePolicy.getStale()':
#
public getStale i32 =>
fuzion.java.call_static (i32) "sun.net.InetAddressCachePolicy" "getStale" "()I" []
# call Java static method 'public static synchronized void sun.net.InetAddressCachePolicy.setIfNotSet(int)':
#
public setIfNotSet_I(arg0 i32) unit =>
fuzion.java.call_static (unit) "sun.net.InetAddressCachePolicy" "setIfNotSet" "(I)V" [(fuzion.java.i32_to_java_object Java.sun.net.InetAddressCachePolicy_static.setIfNotSet_I.this.arg0)]
# call Java static method 'public static void sun.net.InetAddressCachePolicy.setNegativeIfNotSet(int)':
#
public setNegativeIfNotSet_I(arg0 i32) unit =>
fuzion.java.call_static (unit) "sun.net.InetAddressCachePolicy" "setNegativeIfNotSet" "(I)V" [(fuzion.java.i32_to_java_object Java.sun.net.InetAddressCachePolicy_static.setNegativeIfNotSet_I.this.arg0)]
# short-hand to call Java method 'public static synchronized void sun.net.InetAddressCachePolicy.setIfNotSet(int)':
#
public setIfNotSet(arg0 i32) (unit) =>
setIfNotSet_I Java.sun.net.InetAddressCachePolicy_static.setIfNotSet.this.arg0
# short-hand to call Java method 'public static void sun.net.InetAddressCachePolicy.setNegativeIfNotSet(int)':
#
public setNegativeIfNotSet(arg0 i32) (unit) =>
setNegativeIfNotSet_I Java.sun.net.InetAddressCachePolicy_static.setNegativeIfNotSet.this.arg0
# read static Java field 'public static final int sun.net.InetAddressCachePolicy.DEFAULT_POSITIVE':
#
public DEFAULT__POSITIVE i32 =>
fuzion.java.get_static_field (i32) "sun.net.InetAddressCachePolicy" "DEFAULT_POSITIVE"
# read static Java field 'public static final int sun.net.InetAddressCachePolicy.FOREVER':
#
public FOREVER i32 =>
fuzion.java.get_static_field (i32) "sun.net.InetAddressCachePolicy" "FOREVER"
# read static Java field 'public static final int sun.net.InetAddressCachePolicy.NEVER':
#
public NEVER i32 =>
fuzion.java.get_static_field (i32) "sun.net.InetAddressCachePolicy" "NEVER"
# call Java constructor 'public sun.net.InetAddressCachePolicy()':
#
public new Java.sun.net.InetAddressCachePolicy =>
fuzion.java.call_constructor (Java.sun.net.InetAddressCachePolicy) "sun.net.InetAddressCachePolicy" "()V" []