@ Override public ClientEntry next ( ) { if ( hasNext ( ) ) { final Entry romeEntry = members . next ( ) ; try { if ( ! romeEntry . isMediaEntry ( ) ) { return new ClientEntry ( null , collection , romeEntry , true ) ; } else { return new ClientMediaEntry ( null , collection , romeEntry , true ) ; } } catch ( final ProponoException e ) { throw new RuntimeException ( "Unexpected exception creating ClientEntry or ClientMedia" , e ) ; } } throw new NoSuchElementException ( ) ; }
Get next entry in collection .