public boolean remove(Task task) {
		if (task == null) {
			for (int index = 0; index < size; index++)
				if (tasks[index] == null) {
					fastRemove(index);
					return true;
				}
		} else {
			for (int index = 0; index < size; index++)
				if (task.equals(tasks[index])) {
					fastRemove(index);
					return true;
				}
		}
		return false;
	}