public class RawMemoryRegion
extends java.lang.Object
RawMemoryRegionFactory.getRegion() methods of the raw memory
region factory classes, and it is used with methods such as
RawMemoryFactory.createRawByte(RawMemoryRegion, long, int, int) and
RawMemoryFactory.createRawDouble(RawMemoryRegion, long, int, int)
methods to identify the region from which the application wants to
get an accessor instance.| Modifier and Type | Method and Description |
|---|---|
static RawMemoryRegion |
get(java.lang.String name)
Get a memory region type by name.
|
java.lang.String |
getName()
Obtains the name of this region type.
|
static boolean |
isRawMemoryRegion(java.lang.String name)
Ask whether or not there is a memory region type of a given name.
|
java.lang.String |
toString()
Gets a printable representation for a Region.
|
public static RawMemoryRegion get(java.lang.String name) throws StaticIllegalArgumentException
name - of the regionnull, when none with
name exists.StaticIllegalArgumentException - when name is null.public static boolean isRawMemoryRegion(java.lang.String name)
name - for which to searchtrue when there is one and false otherwise.public final java.lang.String getName()
public final java.lang.String toString()
toString in class java.lang.Object