public int getChannelAnnotationRefCount(int imageIndex, int channelIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; int result = retrieve.getChannelAnnotationRefCount(imageIndex, channelIndex); if (result >= 0) return result; } } return -1; }
public int getChannelAnnotationRefCount(int imageIndex, int channelIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; int result = retrieve.getChannelAnnotationRefCount(imageIndex, channelIndex); if (result >= 0) return result; } } return -1; }
channelAnnotationRefCount = src.getChannelAnnotationRefCount(srcImage, srcChannel);