public class ClosedHashOfStrings extends ClosedHashOfObjects
hash, objects, objectsStored
Constructor and Description |
---|
ClosedHashOfStrings() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCopyOfStrings()
Gets an array of all strings that are stored in the closed hash.
|
protected int |
getHashCode(Object o) |
int |
getStringsStored()
Gets the number of strings that are stored in the closed hash.
|
int |
put(String s)
Puts a string in the closed hash.
|
contains, equal, put
public int put(String s)
s
- public String[] getCopyOfStrings()
public int getStringsStored()
protected int getHashCode(Object o)
getHashCode
in class ClosedHashOfObjects