diff --git a/mnemonic-sessions/src/main/java/org/apache/mnemonic/sessions/InputSession.java b/mnemonic-sessions/src/main/java/org/apache/mnemonic/sessions/InputSession.java index 810ff5ec..5d79d74d 100644 --- a/mnemonic-sessions/src/main/java/org/apache/mnemonic/sessions/InputSession.java +++ b/mnemonic-sessions/src/main/java/org/apache/mnemonic/sessions/InputSession.java @@ -20,8 +20,20 @@ import java.util.Iterator; +/** + * Represents an input session that provides a way to iterate over elements of type V. + * + * @param the type of elements in the input session + */ public interface InputSession extends Iterable { - Iterator iterator(); + /** + * Returns an iterator over the elements in this input session. + * + * @return an iterator + */ + @Override + Iterator iterator(); } +