public LinkedQueue<T> add(T data) {

		Node<T> p = new Node<T>();
		p.data = data;
		p.link = null;

		if (!(front == null)) {
			rear.link = p;
		} else {
			front = p;
		}

		rear = p;
		return this;
	}