Class OfHashing
java.lang.Object
|
+--OfHashing
- public class OfHashing
- extends java.lang.Object
- implements Hashing
Implementation des Interface Hashing durch Array von Listen
Field Summary |
private Liste[] |
b
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
b
private Liste[] b
OfHashing
public OfHashing(int N)
hash
private int hash(Comparable x)
toString
public java.lang.String toString()
- Specified by:
- toString in interface Hashing
- Overrides:
- toString in class java.lang.Object
find
private boolean find(Liste l,
Comparable x)
lookup
public Comparable lookup(Comparable x)
- Specified by:
- lookup in interface Hashing
insert
public boolean insert(Comparable x)
- Specified by:
- insert in interface Hashing
delete
public boolean delete(Comparable x)
- Specified by:
- delete in interface Hashing