// 
// Decompiled by Procyon v0.6.0
// 

package ch.randelshofer.fastdoubleparser.chr;

final class ConsecutiveCharDigitSet implements CharDigitSet
{
    private final char zeroDigit;
    
    public ConsecutiveCharDigitSet(final char zeroDigit) {
        this.zeroDigit = zeroDigit;
    }
    
    @Override
    public int toDigit(final char ch) {
        return (char)(ch - this.zeroDigit);
    }
}
