The elements of List are shown in order they were added. There are times, when we need to sort the List in certain order. It can be done using Collections class. In this example, we can see use of Collections.sort() to sort the ArrayList.
Tag Archives: Java
TeamCity setup in linux
TeamCity is a user-friendly continuous integration (CI) server for developers and build engineers that is easy to set up and free of charge for small and medium teams.
Eclipse selection background color fix in ubuntu
This is a article about how to change the highlight color in autocomplete box in Eclipse Please check out this stackoverflow problem. There is really cool solution given for this annoying problem. http://stackoverflow.com/questions/8012176/how-to-change-the-highlight-color-in-autocomplete-box-in-eclipse
NO : float and double for monetary purpose
If you have used float or double for monetary calculation in Java, you must have noticed and said why is the calculation wrong.
Java Programming Conventions (Part II)
On part II of Java programming conventation, we’ll look into further more standards, followed widly by Java community. These standards are here to improve code readability, maintainability and general quality. Programmers can still differ and follow their own guideline if it improves general quality of code.
Java
For all java programmers who loves it, here are couple of videos that I would like to share.
Install Glassfish, JDK and Netbeans on Ubuntu (Manual)
Last time we learned how to install jdk and glassfish with apt-get install commands. Today let’s try to install these manually. Both method have it’s own advantages but I usually perform manual operation.
Install Glassfish and JDK on Ubuntu (apt-get)
To install JDK, IDE and Glassfish server at Linux platform is different from than that at Window. Any programmer who is willing to switch working platform may face problem on how to do that? But relax, it’s not that hard.