Here you can find the source of suffix(String[] columns, String suffix)
public static String[] suffix(String[] columns, String suffix)
//package com.java2s; public class Main { public static String[] suffix(String[] columns, String suffix) { if (suffix == null) return columns; String[] qualified = new String[columns.length]; for (int i = 0; i < columns.length; i++) { qualified[i] = suffix(columns[i], suffix); }// w ww . j a v a 2 s .co m return qualified; } public static String suffix(String name, String suffix) { return (suffix == null) ? name : name + suffix; } }