Package de.srsoftware.tools
Klasse Calc
java.lang.Object
de.srsoftware.tools.Calc
collection of tiny algorithms
-
Methodenübersicht
-
Methodendetails
-
ggt
public static long ggt(long a, long b) calculate the grates common divisor- Parameter:
a- first numberb- second number- Gibt zurück:
- greatest common divisor of a and b
-
hash
calculate the hash of the objects string representation- Parameter:
o- the object to hash- Gibt zurück:
- the hash value represented as hexadecimal string
-