"API belongs to public. Knowledge belongs to yourself."
This blog provides tips and techniques on Java Programming.
You may find demonstration of various computer algorithm written in Java. Most samples are complete and runnable. Readability is of first priority. It should be a easy task to make use of the samples in your own applications.
This post provides a very simple program to remove duplicate lines in a text file with the help of a HashSet. The main() method just contains 14 lines. For another example of HashSet, see Set Operations in Java
No comments:
Post a Comment