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

com.rapplogic.aru.core.Sketch Maven / Gradle / Ivy

The newest version!
package com.rapplogic.aru.core;

import java.util.List;

public class Sketch {
	private List pages;
	private int size;
	private int bytesPerPage;
	private int[] program;
	
	public Sketch(int size, List pages, int bytesPerPage, int[] program) {
		this.size = size;
		this.pages = pages;
		this.bytesPerPage = bytesPerPage;
		this.program = program;
	}

	public List getPages() {
		return pages;
	}

	public int getSize() {
		return size;
	}

	// slightly redundant
	public int getBytesPerPage() {
		return bytesPerPage;
	}

	public int[] getProgram() {
		return program;
	}

	public Page getLastPage() {
		return this.getPages().get(this.getPages().size() - 1);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy