01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.utils.misc;
09:
10: //base classes
11:
12: //project specific classes
13:
14: //other classes
15:
16: public final class SimplePriorityQueue {
17:
18: //
19: private int depth = 0;
20:
21: private SimplePriorityQueue(int inDepth) {
22: this .depth = inDepth;
23: }
24:
25: public final static SimplePriorityQueue newInstance(int inDepth) {
26:
27: SimplePriorityQueue outValue = null;
28:
29: outValue = new SimplePriorityQueue(inDepth);
30:
31: return outValue;
32: }
33:
34: }
|