All pastes #884709 Raw Edit

Mine

public text v1 · immutable
#884709 ·published 2008-01-30 15:25 UTC
rendered paste body
package createwordlist;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
/**
 * @author alitis4
 */
public class Main
{
    
    public static void main(String[] args)
    {
        char[] smallLetters=new char[81];
        
        
        /* Fill tables  */
        char ch='a';
        for(int i=0;i<26;i++)
            smallLetters[i]=ch++;
        
        ch='A';
        for(int i=26;i<52;i++)
            smallLetters[i]=ch++;
        
        ch='1';
        for(int i=52;i<61;i++)
            smallLetters[i]=ch++;
        
        ch='!';
        smallLetters[61]=ch;
        ch='@';
        smallLetters[62]=ch;
        ch='#';
        smallLetters[63]=ch;
        ch ='$';
        smallLetters[64]=ch;
        ch ='%';
        smallLetters[65]=ch;
        ch='^';
        smallLetters[66]=ch;
        ch ='&';
        smallLetters[67]=ch;
        ch='*';
        smallLetters[68]=ch;
        ch='(';
        smallLetters[69]=ch;
        ch=')';
        smallLetters[70]=ch;
        ch='_';
        smallLetters[71]=ch;
        ch='+';
        smallLetters[72]=ch;
        ch='=';
        smallLetters[73]=ch;
        ch='-';
        smallLetters[74]=ch;
        ch='?';
        smallLetters[75]=ch;
        ch='/';
        smallLetters[76]=ch;
        ch='.';
        smallLetters[77]=ch;
        ch=',';
        smallLetters[78]=ch;
        ch='<';
        smallLetters[79]=ch;
        ch='>';
        smallLetters[80]=ch;
        /* -----  */
        
        //for(int i=0;i<smallLetters.length;i++)
        //    System.out.println(smallLetters[i]);
        
        
        
       // for(byte h=0;h<smallLetters.length;h++)
         //   for(byte g=0;g<smallLetters.length;g++)
           //     for(byte f=0;f<smallLetters.length;f++)
            //        for(byte e=0;e<smallLetters.length;e++)
                       for(byte d=0;d<smallLetters.length;d++)
                            for(byte c=0;c<smallLetters.length;c++)
                                for(byte b=0;b<smallLetters.length;b++)
                                    for(byte a=0;a<smallLetters.length;a++)
                                    {
            String t="";
            t+=smallLetters[a];
            t+=smallLetters[b];
            t+=smallLetters[c];
            t+=smallLetters[d];
            //t+=smallLetters[e];
           // t+=smallLetters[f];
            //t+=smallLetters[g];
           // t+=smallLetters[h];
            try
            {
                
                PrintWriter pw = new PrintWriter(new FileWriter("dokimi.txt", true));
                pw.println(t);
                pw.close();
            }
            catch(IOException ex)
            {
                System.out.println("Something went wrong with the file, maybe u don't have much space?");
            }
            
            
            
                                    }
        
        
    }
    
    
}