summaryrefslogtreecommitdiffstats
path: root/bcprov/src/main/java/org/bouncycastle/util/Iterable.java
blob: a0fa9dcc3f1410b91fba3d17bc7d99f65a8ccd98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.bouncycastle.util;

import java.util.Iterator;

/**
 * Utility class to allow use of Iterable feature in JDK 1.5+
 */
public interface Iterable<T>
    extends java.lang.Iterable<T>
{
    /**
     * Returns an iterator over a set of elements of type T.
     *
     * @return an Iterator.
     */
    Iterator<T> iterator();
}