public int getMaxFieldLenth()
    {
        //get max field name
        int maxLen = 0;
        for ( String s : keys )
        {
            maxLen = s.length() > maxLen ? s.length() : maxLen;
        }
        return maxLen+1;
        
    }
public int getMaxFieldLenth ( ) { int maxLen = 0 ; for ( String s : keys ) { maxLen = s . length ( ) > maxLen ? s . length ( ) : maxLen ; } return maxLen + 1 ; }
Gets the maximum length of field descriptor

@return