public interface MachineDescription
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
long |
cIntegerTypeMaxValue(long sizeInBytes,
boolean isUnsigned)
Returns the maximum value of the C integer type with the given
size in bytes and signedness.
|
long |
cIntegerTypeMinValue(long sizeInBytes,
boolean isUnsigned)
Returns the minimum value of the C integer type with the given
size in bytes and signedness.
|
long |
getAddressSize()
Returns the size of an address in bytes.
|
boolean |
isBigEndian()
Indicates whether the CPU is big- or little-endian.
|
boolean |
isLP64()
Indicates whether the underlying machine supports the LP64 data
model (currently only SPARC/64).
|
long getAddressSize()
long cIntegerTypeMaxValue(long sizeInBytes, boolean isUnsigned)
long cIntegerTypeMinValue(long sizeInBytes, boolean isUnsigned)
boolean isBigEndian()
boolean isLP64()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.