Package net.sourceforge.pmd.document
Class RegionByOffsetImp
- java.lang.Object
-
- net.sourceforge.pmd.document.RegionByOffsetImp
-
- All Implemented Interfaces:
RegionByOffset
public class RegionByOffsetImp extends Object implements RegionByOffset
Immutable implementation of theRegionByOffset
interface.
-
-
Constructor Summary
Constructors Constructor Description RegionByOffsetImp(int offset, int length)
-
-
-
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
-
-