VertexField
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Comparable
public class VertexField implements Comparable<VertexField>
顶点字段内存布局描述。
方法
| 方法 | 描述 |
|---|---|
| compareTo(VertexField other) | 将此实例与指定对象进行比较,并返回它们相对值的指示。 |
| equals(Object obj) | 确定此实例和指定对象(该对象也必须是 VertexField 对象)是否具有相同的值。 |
| getAlias() | 字段的别名。 |
| getClass() | |
| getDataType() | 此字段的数据类型。 |
| getIndex() | 此字段在具有相同语义的顶点布局中的索引。 |
| getOffset() | 此字段的字节偏移量。 |
| getSemantic() | 此字段的使用语义。 |
| getSize() | 此字段的字节大小 |
| hashCode() | 返回此字符串的哈希码。 |
| notify() | |
| notifyAll() | |
| toString() | 获取 VertexField 的字符串表示形式 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
compareTo(VertexField other)
public int compareTo(VertexField other)
将此实例与指定对象进行比较,并返回它们相对值的指示。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| other | VertexField |
Returns: int
equals(Object obj)
public boolean equals(Object obj)
确定此实例和指定对象(该对象也必须是 VertexField 对象)是否具有相同的值。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| obj | java.lang.Object |
Returns: 布尔
getAlias()
public String getAlias()
字段的别名。
Returns: java.lang.String - 字段的别名。
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDataType()
public int getDataType()
此字段的数据类型。
Returns: int - 此字段的数据类型。
getIndex()
public int getIndex()
此字段在具有相同语义的顶点布局中的索引。
Returns: int - 此字段在具有相同语义的顶点布局中的索引。
getOffset()
public int getOffset()
此字段的字节偏移量。
Returns: int - 此字段的字节偏移量。
getSemantic()
public VertexFieldSemantic getSemantic()
此字段的使用语义。
Returns: VertexFieldSemantic - The usage semantic of this field.
getSize()
public int getSize()
此字段的字节大小
Returns: int - 此字段的字节大小
hashCode()
public int hashCode()
返回此字符串的哈希码。
Returns: int - 32 位有符号整数哈希码。
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
获取 VertexField 的字符串表示形式
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |