Format numbers
8
Strip HTML Tags From a String
8
svachon
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
8
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
8
Read a eight bytes in little endian order from the given InputStream and create a long out of them.
8
Truncate String
8
Convert a password returned by JPasswordField::getPassword() into a String.
8
Set's a filter for what files to accept when using JFileChooser.
8
I needed these for a recent project, bits and bytes constants.
9
This script lets you do any action the number of times specified.
9
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.









