public static final class MMIODeviceConfig.RawBlockConfig extends MMIODeviceConfig.RawMemoryConfig
RawBlockConfig class encapsulates the configuration parameters of a memory block.| Constructor and Description |
|---|
MMIODeviceConfig.RawBlockConfig(int offset,
java.lang.String name,
int size)
Constructs a new
RawBlockConfig with the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks two
RawBlockConfig objects for equality. |
int |
getSize()
Gets the configured size in bytes of the memory block.
|
int |
hashCode()
Returns the hash code value for this object.
|
getName, getOffsetpublic MMIODeviceConfig.RawBlockConfig(int offset,
java.lang.String name,
int size)
RawBlockConfig with the provided parameters.offset - the offset of the register from the base address (a positive or zero integer).name - the name for the register.size - the size in bytes of the memory block (a positive integer).java.lang.IllegalArgumentException - if any of the following is true:
offset is lesser than 0;size is lesser than or equal to 0.java.lang.NullPointerException - if name is null.public int getSize()
public int hashCode()
hashCode in class MMIODeviceConfig.RawMemoryConfigpublic boolean equals(java.lang.Object obj)
RawBlockConfig objects for equality.equals in class MMIODeviceConfig.RawMemoryConfigobj - the object to test for equality with this object.true if obj is a RawBlockConfig and has
the same hardware addressing information and configuration parameter values
as this RawBlockConfig object.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices