public class HashJoin extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(JoinElement elem)
Adds the provided element in the hashtable
|
boolean |
isEmpty()
Checks if the hashtable is empty
|
JoinElement |
lookup(JoinElement elem)
Checks if the provided element exists in the hashtable
|
public HashJoin()
HashJoinpublic JoinElement lookup(JoinElement elem)
elem - The element to lookupnull otherwisepublic void add(JoinElement elem)
elem - The element to addpublic boolean isEmpty()
true if it is, false otherwiseCopyright © 2017. All Rights Reserved.