Code example for FileChannel

Methods: force

0
		} 
	} 
 
	public void flush() { 
		try { 
			this.channel.force(false);
		} catch (IOException e) {
			throw new RuntimeException(e);
		} 
	} 
 
	public void set(MatrixAccessor<Integer> mtx) {
		for (int i = 0; i < mtx.getRows(); i++) {
			for (int j = 0; j < mtx.getColumns(); j++) {
				Integer cell = mtx.getCell(i, j);
				this.put(i, j, cell);
			} 
		} 
	} 
	 
	public void reopen() {