public Power getGenericExcitationSourcePower(int instrumentIndex, int lightSourceIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Power result = retrieve.getGenericExcitationSourcePower(instrumentIndex, lightSourceIndex); if (result != null) return result; } } return null; }
public Power getGenericExcitationSourcePower(int instrumentIndex, int lightSourceIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Power result = retrieve.getGenericExcitationSourcePower(instrumentIndex, lightSourceIndex); if (result != null) return result; } } return null; }
src.getGenericExcitationSourcePower(instrumentIndex, lightSource); dest.setGenericExcitationSourcePower(power, instrumentIndex, lightSource);