1package org.bouncycastle.util; 2 3import java.util.Iterator; 4 5/** 6 * Utility class to allow use of Iterable feature in JDK 1.5+ 7 */ 8public interface Iterable<T> 9 extends java.lang.Iterable<T> 10{ 11 /** 12 * Returns an iterator over a set of elements of type T. 13 * 14 * @return an Iterator. 15 */ 16 Iterator<T> iterator(); 17} 18