Class SVNHashMap
java.lang.Object
org.tmatesoft.svn.core.internal.util.SVNHashMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map
- Direct Known Subclasses:
SVNEntryHashMap
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
private class
protected static class
private class
private class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private int
private Set
private Set
private int
private SVNHashMap.TableEntry[]
private Collection
private static final Object
private static boolean
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clone()
boolean
containsKey
(Object key) private boolean
boolean
containsValue
(Object value) protected SVNHashMap.TableEntry
createTableEntry
(Object key, Object value, int hash) entrySet()
private static boolean
boolean
int
hashCode()
private static int
private int
indexForHash
(int hash) protected void
init()
boolean
isEmpty()
keySet()
void
private void
private void
resize
(int newSize) int
size()
toString()
values()
private void
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
NULL_KEY
-
INITIAL_CAPACITY
private static final int INITIAL_CAPACITY- See Also:
-
ourIsCompatibilityMode
private static boolean ourIsCompatibilityMode -
myTable
-
myEntryCount
private transient int myEntryCount -
myModCount
private transient int myModCount -
myKeySet
-
myEntrySet
-
myValueCollection
-
-
Constructor Details
-
SVNHashMap
public SVNHashMap() -
SVNHashMap
-
-
Method Details
-
init
protected void init() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
containsNullValue
private boolean containsNullValue() -
get
-
size
public int size() -
put
-
createTableEntry
-
remove
-
putAll
-
keySet
-
entrySet
-
values
-
equals
-
hashCode
public int hashCode() -
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOException
ClassNotFoundException
-
toString
-
indexForHash
private int indexForHash(int hash) -
hashCode
-
resize
private void resize(int newSize) -
eq
-