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 theRegionByOffsetinterface.
-
-
Constructor Summary
Constructors Constructor Description RegionByOffsetImp(int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()intgetOffset()intgetOffsetAfterEnding()
-
-
-
Method Detail
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceRegionByOffset
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceRegionByOffset
-
getOffsetAfterEnding
public int getOffsetAfterEnding()
- Specified by:
getOffsetAfterEndingin interfaceRegionByOffset
-
-