DIJKSTRA ALGORITHM IN JAVA
6
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
7
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
8
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
3
create a random string of 16 chars
9
Copy a file to a new location, optionally marking the file as a temporary file (to be deleted on application exit).
Note there are issues for temporary files - not all the parent directories that might be created are guaranteed to be deleted - only the immediate parent directory will be deleted on exit if created. Other higher-level directories will not be deleted, even if the file is marked as temporary.
Note there are issues for temporary files - not all the parent directories that might be created are guaranteed to be deleted - only the immediate parent directory will be deleted on exit if created. Other higher-level directories will not be deleted, even if the file is marked as temporary.
8
Class method to read a binary file and copy it to a byte array.
-9
Write a set of bytes into a so-called binary file. The point is that we use BinaryWriter here and we have a byte array as input.
6
Write a set of bytes into a 'so-called' binary file. The point is that we use BinaryWriter here and we have a byte array as input.
5
0
A GroovyClassLoader demonstration. The given domain is a german water flow meter system; I think, you shouldn't be able to understand the domain, but you should be able to understand, how to load a Groovy class in Java via a GroovyClassLoader.









