RefInt

遗产: java.lang.Object

public class RefInt

表示 Integer 基本类型的 Out/Ref 构造

构造器

构造函数描述
RefInt(int value)使用给定值模拟 Out/Ref 参数初始化。
RefInt(long value)获取 Out/Ref 参数值 应在调用带有 Out/Ref 结构的方法后使用

方法

方法描述
equals(Object arg0)
get()设置 Out/Ref 参数值应该在具有 Out/Ref 构造的方法内部使用
getClass()
hashCode()
notify()
notifyAll()
set(int anotherValue)
set(long anotherValue)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

RefInt(int value)

public RefInt(int value)

使用给定值模拟 Out/Ref 参数初始化。应在使用 Out/Ref 构造调用方法之前使用

参数:

范围类型描述
valueint

RefInt(long value)

public RefInt(long value)

获取 Out/Ref 参数值 应在调用带有 Out/Ref 结构的方法后使用

参数:

范围类型描述
valuelong

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

get()

public int get()

设置 Out/Ref 参数值应该在具有 Out/Ref 构造的方法内部使用

退货: 整数

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

set(int anotherValue)

public int set(int anotherValue)

参数:

范围类型描述
anotherValueint

退货: 整数

set(long anotherValue)

public int set(long anotherValue)

参数:

范围类型描述
anotherValuelong

退货: 整数

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int