@Test public void getValues() { Predicate predicate = new Predicate("testing"); predicate.set("test", "zero"); predicate.set("1_test", "one"); predicate.set("2_test", "two"); predicate.set("_test", "no"); predicate.set("incorrect", "no"); predicate.set("1_incorrect", "no"); final List<String> actuals = PredicateEvaluatorUtil.getValues(predicate, "test"); assertEquals(actuals.size(), 3); assertTrue(actuals.contains("zero")); assertTrue(actuals.contains("one")); assertTrue(actuals.contains("two")); }
public static List<String> getValues(final Predicate predicate, final String parameterName) { return getValues(predicate, parameterName, false); }
PredicateEvaluatorUtil { public static List<String> getValues(final Predicate predicate, final String parameterName) { return getValues(predicate, parameterName, false); } }
PredicateEvaluatorUtil { public static List<String> getValues(final Predicate predicate, final String parameterName) { return getValues(predicate, parameterName, false); }  }
PredicateEvaluatorUtil { public static List<String> getValues(final Predicate predicate, final String parameterName) { return getValues(predicate, parameterName, false); }  static List<String> getValues(final Predicate predicate, final String parameterName); static List<String> getValues(final Predicate predicate, final String parameterName, final boolean nullify); }
PredicateEvaluatorUtil { public static List<String> getValues(final Predicate predicate, final String parameterName) { return getValues(predicate, parameterName, false); }  static List<String> getValues(final Predicate predicate, final String parameterName); static List<String> getValues(final Predicate predicate, final String parameterName, final boolean nullify);  }