forked from demo/example
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
420 B
19 lines
420 B
package com.fr.function; |
|
|
|
import com.fr.script.AbstractFunction; |
|
|
|
public class StringCat extends AbstractFunction { |
|
public StringCat() { |
|
} |
|
|
|
public Object run(Object[] args) { |
|
StringBuilder result = new StringBuilder(); |
|
|
|
for (int i = 0; i < args.length; ++i) { |
|
Object para = args[i]; |
|
result.append(para.toString()); |
|
} |
|
|
|
return result.toString(); |
|
} |
|
}
|
|
|