@Test public void testGetFunctionNames() { FunctionFactory ff = new PolygonLabelFunctionFactory(); List<FunctionName> names = ff.getFunctionNames(); assertEquals("labelPoint", names.get(0).toString()); }
public List<FunctionName> getFunctionNames() { List<FunctionName> functionList = new ArrayList<>(); functionList.add(PolygonLabelFunction.NAME); return Collections.unmodifiableList(functionList); }
PolygonLabelFunctionFactory implements FunctionFactory { public List<FunctionName> getFunctionNames() { List<FunctionName> functionList = new ArrayList<>(); functionList.add(PolygonLabelFunction.NAME); return Collections.unmodifiableList(functionList); } }
PolygonLabelFunctionFactory implements FunctionFactory { public List<FunctionName> getFunctionNames() { List<FunctionName> functionList = new ArrayList<>(); functionList.add(PolygonLabelFunction.NAME); return Collections.unmodifiableList(functionList); }  }
PolygonLabelFunctionFactory implements FunctionFactory { public List<FunctionName> getFunctionNames() { List<FunctionName> functionList = new ArrayList<>(); functionList.add(PolygonLabelFunction.NAME); return Collections.unmodifiableList(functionList); }  List<FunctionName> getFunctionNames(); Function function(String name, List<Expression> args, Literal fallback); Function function(Name name, List<Expression> args, Literal fallback); }
PolygonLabelFunctionFactory implements FunctionFactory { public List<FunctionName> getFunctionNames() { List<FunctionName> functionList = new ArrayList<>(); functionList.add(PolygonLabelFunction.NAME); return Collections.unmodifiableList(functionList); }  List<FunctionName> getFunctionNames(); Function function(String name, List<Expression> args, Literal fallback); Function function(Name name, List<Expression> args, Literal fallback);  }