net.sf.plausj.bank.german.strategy.util
Class Strategy02AlikeHelper

java.lang.Object
  extended by net.sf.plausj.bank.german.strategy.util.Strategy02AlikeHelper

public class Strategy02AlikeHelper
extends java.lang.Object

Helper methods for Strategy02 alike strategies

Author:
ninan

Constructor Summary
Strategy02AlikeHelper()
           
 
Method Summary
static int calculateSum(AccountCode accountCode, int[] multiplicators)
          Calculates the sum of the digit iteration
static CheckDigit getCheckDigitFromSum(int sum, int pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strategy02AlikeHelper

public Strategy02AlikeHelper()
Method Detail

calculateSum

public static int calculateSum(AccountCode accountCode,
                               int[] multiplicators)
Calculates the sum of the digit iteration

Parameters:
accountCode - The account code to use
multiplicators - The multiplicators
Returns:
The sum

getCheckDigitFromSum

public static CheckDigit getCheckDigitFromSum(int sum,
                                              int pos)


Copyright © 2005-2007 null. All Rights Reserved.