Class TypedRegion

    • Constructor Summary

      Constructors 
      Constructor Description
      TypedRegion​(int offset, int length, java.lang.String type)
      Creates a typed region based on the given specification.
    • Constructor Detail

      • TypedRegion

        public TypedRegion​(int offset,
                           int length,
                           java.lang.String type)
        Creates a typed region based on the given specification.
        Parameters:
        offset - the region's offset
        length - the region's length
        type - the region's type
    • Method Detail

      • getType

        public java.lang.String getType()
        Description copied from interface: ITypedRegion
        Returns the content type of the region.
        Specified by:
        getType in interface ITypedRegion
        Returns:
        the content type of the region
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Region
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Region