public class JoinTemplate extends Template implements LongFunction<String>
| Constructor and Description |
|---|
JoinTemplate(LongUnaryOperator iterop,
String prefix,
String delimiter,
String suffix,
LongFunction<?>... funcs) |
JoinTemplate(String delimiter,
LongFunction<?>... funcs)
Creates a string template function which will concatenate the result of the
provided functions together with the provided delimiter.
|
JoinTemplate(String prefix,
String delimiter,
String suffix,
LongFunction<?>... funcs)
Creates a string template function which will concatenate the result
of the provided function together with the delimiter, but with the
prifix prepended and the suffix appended to the final result.
|
public JoinTemplate(String delimiter, LongFunction<?>... funcs)
delimiter - the delimiter between valuesfuncs - functions which provide data to concatenatepublic JoinTemplate(String prefix, String delimiter, String suffix, LongFunction<?>... funcs)
delimiter - the string delimiter between valuesprefix - the string to prefixsuffix - the string to suffixfuncs - functions which provide that data to concatenatepublic JoinTemplate(LongUnaryOperator iterop, String prefix, String delimiter, String suffix, LongFunction<?>... funcs)
Copyright © 2018. All rights reserved.