jmarkov.basic

## Interface Actions<A extends Action>

- Type Parameters:
    `A` - The Action class.
  All Superinterfaces:
    java.lang.Iterable<A>
  All Known Implementing Classes:
    ActionsSet

      public interface Actions<A extends Action>
      extends java.lang.Iterable<A>

  This interface represents a set of objects Action. The user must choose his own data structure and define the constuctors. It´s recommended to use the Set structure to avoid repeated actions. The ActionsSet class extends this class and explotes the goodnesses of Collections. It is recommended to use that class instead of this one for beginner users.
  Author:
    Andres Sarmiento, Germán Riaño. - Universidad de Los Andes
  See Also:
    `Iterable`, `ActionsSet`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<A>` | `iterator()` This function must be implemented.
    `int` | `size()` Returns the number of elements.
    `java.lang.String` | `toString()`

- - ### Method Detail

    - #### iterator

          java.util.Iterator<A> iterator()

      This function must be implemented. Must return an iterator over the Actions.
      Specified by:
        `iterator` in interface `java.lang.Iterable<A extends Action>`

    - #### size

          int size()

      Returns the number of elements.
      Returns:
        the number of elements.

    - #### toString

          java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        A string representation of the Actions in this set.