APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.runtime

public Class Bytes

extends Object
Class Inheritance
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.utilities.PlatformInfo

Encapsulates some byte-swapping operations defined in the VM

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
swapInt(int x)

Should only swap if the hardware's underlying byte order is different from Java's

public long
swapLong(long x)

Should only swap if the hardware's underlying byte order is different from Java's

public short
swapShort(short x)

Should only swap if the hardware's underlying byte order is different from Java's

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

swapback to summary
private boolean swap

Constructor Detail

Bytesback to summary
public Bytes(MachineDescription machDesc)

Method Detail

swapIntback to summary
public int swapInt(int x)

Should only swap if the hardware's underlying byte order is different from Java's

swapLongback to summary
public long swapLong(long x)

Should only swap if the hardware's underlying byte order is different from Java's

swapShortback to summary
public short swapShort(short x)

Should only swap if the hardware's underlying byte order is different from Java's