public final class FactorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<Long> |
findFactorsOf(long number)
Returns all integral values for which a specified number is wholly divisible.
|
static Set<Long> |
findFactorsOf(Long number)
Returns all integral values for which a specified number is wholly divisible.
|
public static Set<Long> findFactorsOf(@Nonnull Long number)
number - the number to factorize. This parameter must be non-null.public static Set<Long> findFactorsOf(long number)
number - the number to factorize.Copyright © 2015. All rights reserved.