21.5
java.util.Hashtable
THE PACKAGE JAVA.UTIL
21.5.1
public Hashtable(int initialCapacity, float loadFactor)
This constructor initializes a newly created
Hashtable
 object so that its capacity
is
initialCapacity
 and its load factor is
loadFactor
. Initially, there are no
entries in the table.
21.5.2
public Hashtable(int initialCapacity)
This constructor initializes a newly created
Hashtable
 object so that its capacity
is
initialCapacity
 and its load factor is
0.75
. Initially, there are no entries in
the table.
21.5.3
public Hashtable()
This constructor initializes a newly created
Hashtable
 object so that its load fac 
tor is
0.75
. Initially, there are no entries in the table.
21.5.4
public String toString()
This
Hashtable
 is represented in string form as a set of entries, enclosed in
braces and separated by the ASCII characters  
,
  (comma and space). Each
entry is rendered as the key, an equals sign
=
, and the associated element, where
the
toString
 method is used to convert the key and element to strings.
Overrides the
toString
 method of
Object
 ( 21.2.3).
21.5.5
public Object clone()
A copy of this
Hashtable
 is constructed and returned. All the structure of the
hashtable itself is copied, but the keys and elements are not cloned.
Overrides the
clone
 method of
Object
 ( 21.2.6).
21.5.6
public int size()
Implements the
size
 method of
Dictionary
 ( 21.4.1).
21.5.7
public boolean isEmpty()
Implements the
isEmpty
 method of
Dictionary
 ( 21.4.2).
636






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved