@Override
public boolean apply(FileItem input) {
checkArgument(Iterables.size(factorDescription) == input.factorValues.size());
for (MetaFactor each : factorDescription) {
if (each.name == null || each.name.trim().length() == 0) {
throw new InvalidFactorException("No name was specified for meta factor");
}
//TODO: [stanislav.kurilin]
//checkArgument(input.factorValues.containsKey(each.name));
//TODO: [stanislav.kurilin] numeric check. are doubles / negatives allowed? comma separators?
// checkArgument(!input.factorValues.get(each.name).isEmpty());