if (dao == null) {
if (abstractKey instanceof ScanResult1DKey) {
dao = new ScanResult1DDAO();
}
else if (abstractKey instanceof ActuatorKey) {
dao = new ActuatorSpectrumDAO(((ActuatorKey) abstractKey).getActuator());
}
else if (abstractKey instanceof SensorKey) {
dao = new SensorSpectrumDAO(((SensorKey) abstractKey).getSensor());
}
numberDataArrayDAOCache.register(abstractKey, dao);