2014-01-16 4 views
1

임의의 데이터 구조에 저장된 데이터 컬렉션을 반복하고 싶습니다. 내가 가진 유일한 인터페이스는 Iterable입니다. 이 가능한 StringTemplate 있습니까?StringTemplate 지원/반복 가능 Iterable

<source:{e|e.stuff}> 



class Source<HasStuff> implements Iterable<HasStuff> { 
    // Implementation 
} 

답변