@Override public Function getFunction(String name) { for (Function function : getFunctions()) { if (function.getName().equalsIgnoreCase(name)) { return function; } } return null; }
@Override public List<Function> getFunctions(String name) { List<Function> list = new EList<Function>(); for (Function f : getFunctions()) { if (f.getName().equalsIgnoreCase(name)) { list.add(f); } } return list; }