public byte[] toBytes() throws IOException { if (null == table) { return null; } table.sort(new IntegerComparator<Integer>()); return table.toBytesOnSortedData(); }
public void parse(byte[] data, Cell2Visitor<Integer, Integer> visitor) throws IOException { Cell2<Integer, Integer> cell2 = createBlankTable(); cell2.data = new BytesSection(data); cell2.process(visitor); }
/** Free the cube data */ public void clear() throws IOException { table.getMap().clear(); }
public void put(Integer key, Integer value) { table.add(key, value); }