![JAR search and dependency download from the Maven repository](/logo.png)
com.github.fge.grappa.debugger.model.db.PerClassStatisticsMapper 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.jooq.Tables;
import org.jooq.Record;
import org.jooq.RecordMapper;
public final class PerClassStatisticsMapper
implements RecordMapper
{
@Override
public PerClassStatistics map(final Record record)
{
//noinspection AutoUnboxing
return new PerClassStatistics(
record.getValue(Tables.MATCHERS.CLASS_NAME),
record.getValue("nrRules", Integer.class),
record.getValue("nrCalls", Integer.class)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy