public Long getLongAnnotationValue(int longAnnotationIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Long result = retrieve.getLongAnnotationValue(longAnnotationIndex); if (result != null) return result; } } return null; }
public Long getLongAnnotationValue(int longAnnotationIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Long result = retrieve.getLongAnnotationValue(longAnnotationIndex); if (result != null) return result; } } return null; }
Long value = src.getLongAnnotationValue(i); dest.setLongAnnotationValue(value, i);