01: package com.teamkonzept.lib;
02:
03: public class TKSortedHashtable extends TKHashtable implements TKSorted {
04:
05: private boolean sortedForward = true;
06:
07: /**
08: Konstruktoren der Superklasse
09: */
10: public TKSortedHashtable() {
11: super ();
12: }
13:
14: public TKSortedHashtable(int initialCapacity) {
15: super (initialCapacity);
16: }
17:
18: public TKSortedHashtable(Object key, Object val) {
19: super (key, val);
20: }
21:
22: public TKSortedHashtable(Object init[][]) {
23: super (init);
24: }
25:
26: /**
27: neue Konstruktoren
28: */
29: public TKSortedHashtable(boolean sortedForward) {
30:
31: super ();
32: this .sortedForward = sortedForward;
33: }
34:
35: public boolean sortedForward() {
36: return sortedForward;
37: }
38:
39: public void setForwardSorting(boolean sortedForward) {
40: this.sortedForward = sortedForward;
41: }
42: }
|