AI.java

package org.xmlaspect.xor; 
 
/** 
 * 
 * @author Sasha Firsov 
 */ 
public class AI 
{ 
    public int[]    fIntArr = {0,1,2};  
    public void     validatefIntArr( int index ) 
    { 
        if( index != fIntArr[index] ) 
            throw new NumberFormatException( "fInt["+index+"]="+fIntArr[index]+" shall have same value as index" ); 
    } 
}