public static IUnitizingAnnotationUnit findNextUnit ( final Iterator < IUnitizingAnnotationUnit > units , final Object category ) { return findNextUnit ( units , - 1 , category ) ; }
Utility method for moving on the cursor of the given iterator until a unit of the specified category is returned .