if (range.getMinimumNumber() instanceof Integer && range.getMaximumNumber() instanceof Integer) {
result = randomData.nextInt(range.getMinimumInteger(), range.getMaximumInteger());
}
if (range.getMinimumNumber() instanceof Long && range.getMaximumNumber() instanceof Long) {
result = randomData.nextLong(range.getMinimumLong(), range.getMaximumLong());
}
if (range.getMinimumNumber() instanceof Float && range.getMaximumNumber() instanceof Float) {
result = randomData.nextUniform(range.getMinimumFloat(), range.getMaximumFloat());
}