Public Member Functions | |
synchronized int | add (Object obj, int iref) |
synchronized void | clear () |
synchronized boolean | del (Object obj) |
HashedRefs () | |
HashedRefs (int initialCapacity) | |
HashedRefs (int initialCapacity, float loadFactor) | |
int | size () |
Public Attributes | |
transient HashedRefsEntry | table [] |
Protected Member Functions | |
void | rehash () |
Private Attributes | |
transient int | count |
float | loadFactor |
int | threshold |
Definition at line 16 of file HashedRefs.java.
jpl::util::HashedRefs::HashedRefs | ( | int | initialCapacity, | |
float | loadFactor | |||
) | [inline] |
Definition at line 37 of file HashedRefs.java.
jpl::util::HashedRefs::HashedRefs | ( | int | initialCapacity | ) | [inline] |
Definition at line 46 of file HashedRefs.java.
jpl::util::HashedRefs::HashedRefs | ( | ) | [inline] |
Definition at line 50 of file HashedRefs.java.
synchronized int jpl::util::HashedRefs::add | ( | Object | obj, | |
int | iref | |||
) | [inline] |
Definition at line 80 of file HashedRefs.java.
synchronized void jpl::util::HashedRefs::clear | ( | ) | [inline] |
Definition at line 131 of file HashedRefs.java.
synchronized boolean jpl::util::HashedRefs::del | ( | Object | obj | ) | [inline] |
Definition at line 113 of file HashedRefs.java.
void jpl::util::HashedRefs::rehash | ( | ) | [inline, protected] |
Definition at line 58 of file HashedRefs.java.
int jpl::util::HashedRefs::size | ( | ) | [inline] |
Definition at line 54 of file HashedRefs.java.
transient int jpl::util::HashedRefs::count [private] |
The total number of entries in the hash table.
Definition at line 25 of file HashedRefs.java.
float jpl::util::HashedRefs::loadFactor [private] |
The load factor for the hashtable.
Definition at line 35 of file HashedRefs.java.
transient HashedRefsEntry jpl::util::HashedRefs::table[] |
The hash table data.
Definition at line 20 of file HashedRefs.java.
int jpl::util::HashedRefs::threshold [private] |
Rehashes the table when count exceeds this threshold.
Definition at line 30 of file HashedRefs.java.