All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.tablesToString.stg Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version

toString() ::= <<
   public String toString()
   {
      StringBuilder buf = new StringBuilder();
      for (String key : columnMap.keySet())
      {
         buf.append(key).append(" \t");
      }
      buf.append("\n");
      for (ArrayList\ row : table)
      {
         for (Object cell : row)
         {
            buf.append(cell).append(" \t");
         }
         buf.append("\n");
      }
      buf.append("\n");
      return buf.toString();
   }
>>