Package br.com.objectos.way.base.ModuloCheckDigit

Examples of br.com.objectos.way.base.ModuloCheckDigit.Computation


      this.checkIds = checkIds;
    }

    @Override
    void eval(Map<String, SeqNumCol> colMap) {
      Computation computation = checker.start();

      for (String id : checkIds) {
        SeqNumCol col = colMap.get(id);
        col.eval(colMap);
        computation.append(col.data);
      }

      CheckDigit digit = computation.compute();
      toInteger(digit.intValue());
    }
View Full Code Here


      this.checkIds = checkIds;
    }

    @Override
    void eval(Map<String, SeqNumCol> colMap) {
      Computation computation = checker.start();

      for (String id : checkIds) {
        SeqNumCol col = colMap.get(id);
        col.eval(colMap);
        computation.append(col.data);
      }

      CheckDigit digit = computation.compute();
      toInteger(digit.intValue());
    }
View Full Code Here

TOP

Related Classes of br.com.objectos.way.base.ModuloCheckDigit.Computation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.