RefByte
内容
[
隐藏
]遗产: java.lang.Object
public class RefByte
表示 Byte 原始类型的 Out/Ref 构造
构造器
| 构造函数 | 描述 |
|---|---|
| RefByte(byte value) | 使用给定值模拟 Out/Ref 参数初始化。 |
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| get() | 获取 Out/Ref 参数值 应在调用带有 Out/Ref 结构的方法后使用 |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| set(byte anotherValue) | 设置 Out/Ref 参数值应该在具有 Out/Ref 构造的方法内部使用 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
RefByte(byte value)
public RefByte(byte value)
使用给定值模拟 Out/Ref 参数初始化。应在使用 Out/Ref 构造调用方法之前使用
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| value | byte |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
get()
public byte 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(byte anotherValue)
public byte set(byte anotherValue)
设置 Out/Ref 参数值应该在具有 Out/Ref 构造的方法内部使用
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| anotherValue | byte |
退货: 字节
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |