Created
March 4, 2015 08:09
-
-
Save fge/4eef6bf9e083e97e49ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class PerClassStatisticsMapper | |
implements RecordMapper<Record, PerClassStatistics> | |
{ | |
@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) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment