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 classprivate classprivate classprotected static classprivate classprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate intprivate Setprivate Setprivate intprivate SVNHashMap.TableEntry[]private Collectionprivate static final Objectprivate static booleanprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()booleancontainsKey(Object key) private booleanbooleancontainsValue(Object value) protected SVNHashMap.TableEntrycreateTableEntry(Object key, Object value, int hash) entrySet()private static booleanbooleaninthashCode()private static intprivate intindexForHash(int hash) protected voidinit()booleanisEmpty()keySet()voidprivate voidprivate voidresize(int newSize) intsize()toString()values()private voidMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
containsNullValue
private boolean containsNullValue() -
get
-
size
public int size() -
put
-
createTableEntry
-
remove
-
putAll
-
keySet
-
entrySet
-
values
-
equals
-
hashCode
public int hashCode() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
toString
-
indexForHash
private int indexForHash(int hash) -
hashCode
-
resize
private void resize(int newSize) -
eq
-