public Leaf(Link key, int t, Junction parent, Leaf next, Leaf previous){
		this.T= t;
		this.size= 1;
		this.data= new Vector<Link>();
		this.next= next;
		this.parent= parent;
		if ((previous != null) && (next != null)){	//sets the new Link's 'next' and 'prev' values
			this.data.add(key);
			key.setNext(next.getFirst());
			key.setPrev(previous.getLast());
			previous.setNext(this);
		} 
		else if ((previous == null) && (next != null)){
			this.data.add(key);
			key.setNext(next.getFirst());
			key.setPrev(null);
		}
		else if ((previous != null) && (next == null)){
			this.data.add(key);
			key.setNext(null);
			key.setPrev(previous.getLast());
			previous.setNext(this);
		}
		else {
			this.data.add(key);
			key.setNext(null);
			key.setPrev(null);
		}
	}//Leaf(Link, int, Junction, Leaf, Leaf)