объект удвоить Java
Double d = null;
if (obj instanceof Double) {
d = (Double) obj;
}
Bredo
Double d = null;
if (obj instanceof Double) {
d = (Double) obj;
}