public abstract class Struct.IntegerAlias extends Struct.NumberField
type
限定符和类型 | 方法和说明 |
---|---|
long |
get()
Gets the value for this field.
|
int |
intValue()
Returns a
int representation of this Number . |
long |
longValue()
Returns a
long representation of this Number . |
void |
set(long value) |
void |
set(Number value)
Sets the field to a new value.
|
String |
toString()
Returns a string representation of this field.
|
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, struct
public void set(Number value)
Struct.NumberField
set
在类中 Struct.NumberField
value
- The new value.public void set(long value)
public final long get()
public int intValue()
Struct.NumberField
int
representation of this Number
.intValue
在类中 Struct.NumberField
int
value for this Number
.public long longValue()
Struct.NumberField
long
representation of this Number
.longValue
在类中 Struct.NumberField
long
value for this Number
.public final String toString()
toString
在类中 Struct.NumberField
Copyright © 2021. All rights reserved.