Package net.sourceforge.pmd.document
Class RegionByOffsetImp
- java.lang.Object
-
- net.sourceforge.pmd.document.RegionByOffsetImp
-
- All Implemented Interfaces:
RegionByOffset
public class RegionByOffsetImp extends java.lang.Object implements RegionByOffset
Immutable implementation of theRegionByOffset
interface.
-
-
Constructor Summary
Constructors Constructor Description RegionByOffsetImp(int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
int
getOffset()
int
getOffsetAfterEnding()
-
-
-
Method Detail
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceRegionByOffset
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceRegionByOffset
-
getOffsetAfterEnding
public int getOffsetAfterEnding()
- Specified by:
getOffsetAfterEnding
in interfaceRegionByOffset
-
-