public void setQueue1(FloatQueue t) throws MismatchException {
		if (t == null)
			throw new NullPointerException("the arg cannot be null");
		if (q2 != null) {
			if (t.getLength() != q2.getLength())
				throw new MismatchException("queue 1 and 2 have different lengths!");
			if (t.getPointer() != q2.getPointer())
				throw new MismatchException("queue 1 and 2 have different pointer indices!");
			if (t.getInterval() != q2.getInterval())
				throw new MismatchException("queue 1 and 2 have different intervals!");
		}
		if (q3 != null) {
			if (t.getLength() != q3.getLength())
				throw new MismatchException("queue 1 and 3 have different lengths!");
			if (t.getPointer() != q3.getPointer())
				throw new MismatchException("queue 1 and 3 have different pointer indices!");
			if (t.getInterval() != q3.getInterval())
				throw new MismatchException("queue 1 and 3 have different intervals!");
		}
		q1 = t;
	}