![JAR search and dependency download from the Maven repository](/logo.png)
com.github.fge.grappa.debugger.model.db.MatchStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grappa-debugger Show documentation
Show all versions of grappa-debugger Show documentation
GUI application to debug grappa parsers
The newest version!
package com.github.fge.grappa.debugger.model.db;
import com.github.fge.grappa.debugger.model.RuleInfo;
import com.github.fge.grappa.internal.NonFinalForTesting;
@NonFinalForTesting
public class MatchStatistics
{
private final RuleInfo ruleInfo;
private final int nonEmptyMatches;
private final int emptyMatches;
private final int failedMatches;
public MatchStatistics(final RuleInfo ruleInfo, final int nonEmptyMatches,
final int emptyMatches, final int failedMatches)
{
this.ruleInfo = ruleInfo;
this.nonEmptyMatches = nonEmptyMatches;
this.emptyMatches = emptyMatches;
this.failedMatches = failedMatches;
}
public RuleInfo getRuleInfo()
{
return ruleInfo;
}
public int getNonEmptyMatches()
{
return nonEmptyMatches;
}
public int getEmptyMatches()
{
return emptyMatches;
}
public int getFailedMatches()
{
return failedMatches;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy