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

io.cucumber.gherkin.IncrementingIdGenerator Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package io.cucumber.gherkin;

import io.cucumber.messages.IdGenerator;

public class IncrementingIdGenerator implements IdGenerator {
    private int next = 0;

    @Override
    public String newId() {
        return Integer.toString(next++);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy