Class Iterate<T>

java.lang.Object
net.serenitybdd.screenplay.Iterate<T>

public class Iterate<T>
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Iterate​(java.util.List<T> collection)  
  • Method Summary

    Modifier and Type Method Description
    Performable forEach​(java.util.function.BiConsumer<Actor,​T> action)  
    static <T> Iterate<T> over​(java.util.List<T> collection)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Iterate

      public Iterate​(java.util.List<T> collection)
  • Method Details

    • over

      public static <T> Iterate<T> over​(java.util.List<T> collection)
    • forEach

      public Performable forEach​(java.util.function.BiConsumer<Actor,​T> action)