Class Table<T>

java.lang.Object
com.ibm.wala.util.tables.Table<T>
Direct Known Subclasses:
StringTable

public class Table<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getElement

      public T getElement(int row, int column)
    • getColumnHeading

      public String getColumnHeading(int i)
      Note that column indices start at zero
    • computeColumnWidths

      public int[] computeColumnWidths()
    • getNumberOfColumns

      public int getNumberOfColumns()
    • getNumberOfRows

      public int getNumberOfRows()
    • row2Map

      public Map<String,T> row2Map(int row)
    • addRow

      public void addRow(Map<String,T> p)
    • removeRow

      public void removeRow(Map<String,T> p)
    • padWithSpaces

      public static void padWithSpaces(StringBuilder b, int length)