private int classifyTags ( IFD ifd , ArrayList < TagValue > oversized , ArrayList < TagValue > undersized ) { int tagValueSize = 4 ; int n = 0 ; for ( TagValue tag : ifd . getMetadata ( ) . getTags ( ) ) { int tagsize = getTagSize ( tag ) ; if ( tagsize > tagValueSize ) { oversized . add ( tag ) ; } else { undersized . add ( tag ) ; } n ++ ; } return n ; }
Gets the oversized tags .