package com.google.zxing.oned.rss.expanded.decoders;

import com.google.zxing.FormatException;

final class DecodedNumeric extends DecodedObject
{
  static final int FNC1 = 10;
  private final int firstDigit;
  private final int secondDigit;

  DecodedNumeric(int paramInt1, int paramInt2, int paramInt3)
    throws FormatException
  {
    super(paramInt1);
    if ((paramInt2 < 0) || (paramInt2 > 10) || (paramInt3 < 0) || (paramInt3 > 10))
      throw FormatException.getFormatInstance();
    this.firstDigit = paramInt2;
    this.secondDigit = paramInt3;
  }

  int getFirstDigit()
  {
    return this.firstDigit;
  }

  int getSecondDigit()
  {
    return this.secondDigit;
  }

  int getValue()
  {
    return 10 * this.firstDigit + this.secondDigit;
  }

  boolean isAnyFNC1()
  {
    return (this.firstDigit == 10) || (this.secondDigit == 10);
  }

  boolean isFirstDigitFNC1()
  {
    return this.firstDigit == 10;
  }

  boolean isSecondDigitFNC1()
  {
    return this.secondDigit == 10;
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.google.zxing.oned.rss.expanded.decoders.DecodedNumeric
 * JD-Core Version:    0.6.2
 */