Removing double entries from a List
7
Remove newslines from a string.
9
Simple class to allow cut and paste to clipboard.
13
mattrmiller
in the normal GZIPOutputStream you can not et the compression level. I came across this little script tonight that allows you to set the compression level for GZIPOutputStream.
7
Move a file quickly in java.
13
Deletes all files of a certain extention from a folder.
11
mattrmiller
Recursively delete a directory, emptying all contents.
9
Reading and writing to a URL connection, thanks to Java.
6
Another way to generate a unique ID.
9
Get a List of Folders and/or Files
-1
The method 'removeDoubles' uses a HashSet to remove double elements from a list without creating another list. The first occurrences of the multiple elements are kept, others will be removed. The order of the list will be preserved. The parameter list's iterator must support remove. Example of use is given in the main-method.









