import DataCharacter from './DataCharacter' ; import FinderPattern from './FinderPattern' ; export default class Pair extends DataCharacter { private finderPattern : FinderPattern ; private count : number = 0 ; public constructor ( value , checksumPortion , finderPattern ) { super ( value , checksumPortion ) ; this . finderPattern = finderPattern ; } getFinderPattern ( ) { return this . finderPattern ; } getCount ( ) { return this . count ; } incrementCount ( ) { this . count ++ ; } }