commandline session $ 4.2.20 153 1003—> ant compile Buildfile: /home/jeffrin/java/beautifulprograms/build.xml copyjars: compile: [javac] /home/jeffrin/java/beautifulprograms/build.xml:36: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to /home/jeffrin/java/beautifulprograms/war/WEB-INF/classes BUILD SUCCESSFUL Total time: 6 seconds $ 4.2.20 154 1004—>
Daily Archives: April 20, 2012
bubble sort in java
commandline session /* Java Bubble Sort Example This Java bubble sort example shows how to sort an array of int using bubble sort algorithm. Bubble sort is the simplest sorting algorithm. */ public class BubbleSort { public static void main(String[] args) { //create an int array we want to sort using bubble sort algorithm int …
find . GNU version of find
commandline session $ 4.2.20 11 511—> find ~ | wc -l 106414 $ 4.2.20 12 512—> $ 4.2.20 12 512—> find ~ -type d | wc -l 9537 $ 4.2.20 13 513—> $ 4.2.20 13 513—> find ~ -type l | wc -l 115 $ 4.2.20 14 514—> $ 4.2.20 17 517—> find ~ -type …