org.jtwig.plural.model.PluralOption Maven / Gradle / Ivy
package org.jtwig.plural.model;
import com.google.common.base.Predicate;
public class PluralOption implements Predicate {
private final String message;
private final Predicate include;
public PluralOption(String message, Predicate include) {
this.message = message;
this.include = include;
}
@Override
public boolean apply(Integer input) {
return include.apply(input);
}
public String getMessage() {
return message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy