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