comparison core/src/luan/impl/LuanImpl.java @ 684:41f791e4206d

bug fixes
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 16 Apr 2016 21:42:19 -0600
parents 2994e46f62b7
children
comparison
equal deleted inserted replaced
683:67dd1449e354 684:41f791e4206d
237 237
238 public static Object first(Object[] a) { 238 public static Object first(Object[] a) {
239 return a.length==0 ? null : a[0]; 239 return a.length==0 ? null : a[0];
240 } 240 }
241 241
242 public static String strconcat(String... a) {
243 StringBuilder sb = new StringBuilder();
244 for( String s : a ) {
245 sb.append(s);
246 }
247 return sb.toString();
248 }
249
242 } 250 }