public class GcdCalculator extends Object
| Constructor and Description |
|---|
GcdCalculator() |
| Modifier and Type | Method and Description |
|---|---|
static long |
gcd(List<Long> l)
Finds the greatest common divisor of all numbers in the list.
|
Copyright © 2017. All Rights Reserved.