public class LazyHashtable extends Hashtable
Modifier and Type | Field and Description |
---|---|
protected boolean |
initAllDone |
Constructor and Description |
---|
LazyHashtable()
No arg constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object value)
Check if the table contains a particular value.
|
boolean |
containsKey(Object value)
Check if the table contains a particular key.
|
boolean |
containsValue(Object value)
Delegates to
contains . |
Enumeration |
elements()
Get a enumeration over the elements.
|
protected void |
initAll()
Used to be part of init.
|
boolean |
isEmpty()
Check if the table is empty.
|
Enumeration |
keys()
Get an enumeration over the keys.
|
int |
size()
Get the size of the table.
|
public boolean contains(Object value)
public boolean containsKey(Object value)
containsKey
in interface Map
containsKey
in class Hashtable
value
- the key to look for.Hashtable.contains(Object)
public boolean containsValue(Object value)
contains
.containsValue
in interface Map
containsValue
in class Hashtable
value
- the value to look for.public Enumeration elements()
elements
in class Hashtable
Enumeration
,
Hashtable.keys()
,
Hashtable.values()
,
Map
protected void initAll()
public boolean isEmpty()
public Enumeration keys()
keys
in class Hashtable
Enumeration
,
Hashtable.elements()
,
Hashtable.keySet()
,
Map