All Downloads are FREE. Search and download functionalities are using the official Maven repository.

react4j.processor.BuilderDescriptor Maven / Gradle / Ivy

There is a newer version: 0.196
Show newest version
package react4j.processor;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnull;

final class BuilderDescriptor
{
  @Nonnull
  private final List _steps = new ArrayList<>();

  BuilderDescriptor()
  {
  }

  @Nonnull
  Step addStep()
  {
    final Step step = new Step( _steps.size() + 1 );
    getSteps().add( step );
    return step;
  }

  @Nonnull
  List getSteps()
  {
    return _steps;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy