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

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

public class Strategy00AlikeHelper
extends java.lang.Object

Helper methods for Strategy00 alike strategies

Author:
ninan

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

Constructor Detail

Strategy00AlikeHelper

public Strategy00AlikeHelper()
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 int getCheckDigitFromSum(int sum)


Copyright © 2005-2007 null. All Rights Reserved.