- cloneByteArray
Create a new byte array and copy all the data. If the size of the byte array is
zero, the same array
- getResource
Get a resource from the resource map.
- haveCommonComparableSuperclass
Checks if given classes have a common Comparable superclass.
- callMethod
Calls an instance method via reflection. This will try to use the method where
the most parameter cl
- callStaticMethod
Calls a static method via reflection. This will try to use the method where the
most parameter class
- collectGarbage
- compareSecure
Compare two byte arrays. This method will always loop over all bytes and doesn't
use conditional ope
- copy
Copy the contents of the source array to the target array. If the size if the
target array is too sm
- getByteArrayHash
Calculate the hash code of the given byte array.
- getMemoryFree
Get the free memory in KB. This method possibly calls System.gc().
- getMemoryMax
Get the maximum memory in KB.
- getMemoryUsed
Get the used memory in KB. This method possibly calls System.gc().