Class RegionSettings

  • All Implemented Interfaces:
    Range<java.math.BigInteger>

    public final class RegionSettings
    extends AbstractSettings
    implements Range<java.math.BigInteger>
    RegionSettings represents a configuration of a single memory region.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from class: AbstractSettings
        Returns the name of the settings (to be overridden in subclasses).
        Overrides:
        getName in class AbstractSettings
        Returns:
        the settings name.
      • getStartAddress

        public java.math.BigInteger getStartAddress()
      • getEndAddress

        public java.math.BigInteger getEndAddress()
      • canRead

        public boolean canRead()
      • canWrite

        public boolean canWrite()
      • canExecute

        public boolean canExecute()
      • isEnabled

        public boolean isEnabled()
      • isVolatile

        public boolean isVolatile()
      • checkAddress

        public boolean checkAddress​(java.math.BigInteger address)
      • getAccesses

        public java.util.Collection<AccessSettings> getAccesses()
      • getMin

        public java.math.BigInteger getMin()
        Specified by:
        getMin in interface Range<java.math.BigInteger>
      • getMax

        public java.math.BigInteger getMax()
        Specified by:
        getMax in interface Range<java.math.BigInteger>
      • get

        public java.util.Collection<AbstractSettings> get​(java.lang.String tag)
        Description copied from class: AbstractSettings
        Default implementation (to be overridden in subclasses).
        Overrides:
        get in class AbstractSettings
        Parameters:
        tag - the tag of the sections to be returned.
        Returns:
        Sections that correspond to the specified section tag.
      • add

        public void add​(AbstractSettings section)
        Description copied from class: AbstractSettings
        Default implementation (to be overridden in subclasses).
        Overrides:
        add in class AbstractSettings
        Parameters:
        section - the settings's section to be added.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object