public T dequeue() {
    	if (this.isEmpty()) {
    		return null;
    	}
    	T data = bottom.data;
    	bottom = bottom.next;
    	if (bottom == null) {
    		top = null;
    	}
    	return data;
    }