public void add(T obj, int priority) {
		Integer key = Integer.valueOf(priority);
		LinkedList<T> list = tree.get(key);
		if (list == null) {
			list = new LinkedList<T>();
			tree.put(key, list);
		}
		list.addLast(obj);
		size++;	
	}
Adds the given object to the queue at the appropriate insertion point based
on the given priority.
@param obj the object to be added.
@param priority the priority assigned to the object.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/PriorityQueue.java