Class AddSteps

  • All Implemented Interfaces:

    
    public final class AddSteps
    
                        

    This normalizer will guarantee that a new StoryUnit is added between all items of a List<StoryUnit> this normalizer can be very useful to insert spaces between a list of StoryUnits.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class AddSteps.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      AddSteps(Function0<StoryStep> addInBetween, Function0<StoryStep> addAtLast, Boolean skipFirst)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<Integer, StoryStep> insert(Map<Integer, StoryStep> unit)
      final List<StoryStep> insert(Iterable<StoryStep> units)
      • Methods inherited from class java.lang.Object

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

      • AddSteps

        AddSteps(Function0<StoryStep> addInBetween, Function0<StoryStep> addAtLast, Boolean skipFirst)