(boolean cached)
| 55 | } |
| 56 | |
| 57 | public TableModel cached(boolean cached) { |
| 58 | int last = columnBits.size() - 1; |
| 59 | assert last > 0; |
| 60 | assert (ColumnType.isSymbol((int) columnBits.getQuick(last - 1))); |
| 61 | long bits = columnBits.getQuick(last); |
| 62 | if (cached) { |
| 63 | columnBits.setQuick(last, bits | COLUMN_FLAG_CACHED); |
| 64 | } else { |
| 65 | columnBits.setQuick(last, bits & ~COLUMN_FLAG_CACHED); |
| 66 | } |
| 67 | return this; |
| 68 | } |
| 69 | |
| 70 | public TableModel col(CharSequence name, int type) { |
| 71 | columnNames.add(Chars.toString(name)); |
no test coverage detected