Re: My Latest MLP/Journey to the West Crossover Fic

From Chinese Viagra Ombudsman, 8 Years ago, written in Java, viewed 837 times. This paste is a reply to My Latest MLP/Journey to the West Crossover Fic from Chinese Viagra Ombudsman - view diff
earl https://txt.blorgblorgbl.org/view/041f3633 Embed
Download Paste or View Raw
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package entirewinchingsystem;
  6.  
  7. import java.util.*;
  8. import java.io.*;
  9. //import java.nio.*;
  10. import java.nio.file.*;
  11. import java.nio.charset.*;
  12.  
  13. /**
  14.  *
  15.  * @author Tobi
  16.  */
  17. public class EntireWinchingSystem {
  18.  
  19.     /**
  20.      * @param args the command line arguments
  21.      */
  22.     public static void main(String[] args) {
  23.         ArrayList<String> mutinyNames = new ArrayList(75);
  24.         Path nameFile = Paths.get("C:\\Media\\Programming\\smnames.txt");
  25.         BufferedReader reader;
  26. //        int dockingBayDoors = 0;
  27.         try {
  28.             reader = Files.newBufferedReader(nameFile, Charset.defaultCharset());
  29.             String bobJohnsonOhWait;
  30.             while ((bobJohnsonOhWait = reader.readLine()) != null) {
  31.                 mutinyNames.add(bobJohnsonOhWait);
  32.                 //dockingBayDoors++;
  33.             }
  34.             reader.close();
  35.         }
  36.         catch (IOException x) {
  37.             System.err.format("IOException: %s%n", x);
  38.         }
  39.         finally {
  40.             //while ((booger = reader.readLine()) != null) {
  41.                 mutinyNames.trimToSize();
  42.             }
  43.         System.out.println(String.valueOf(mutinyNames.size()));
  44.         for (int i = 0;i < 5;i++) {
  45.             System.out.println(getAName(mutinyNames));
  46. }
  47.         /* System.out.println(getAName(mutinyNames));
  48.         System.out.println(getAName(mutinyNames));
  49.         System.out.println(getAName(mutinyNames));
  50.         System.out.println(getAName(mutinyNames)); */
  51. //        for (String penis : mutinyNames) {
  52. //            System.out.println(penis);
  53. //        }
  54.         }
  55.        
  56.     private static String getAName(ArrayList balls){
  57.         Random buttholes = new Random();
  58.         int anus = buttholes.nextInt(balls.size());
  59.         String scrotum = ""+balls.get(anus);
  60.         return scrotum;
  61.     }
  62.        
  63.     }

Reply to "Re: My Latest MLP/Journey to the West Crossover Fic"

Here you can reply to the paste above

captcha