Package org.apache.batik.util
Class SoftDoublyIndexedTable.Entry
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.SoftReference
-
- org.apache.batik.util.SoftDoublyIndexedTable.Entry
-
- Enclosing class:
- SoftDoublyIndexedTable
protected class SoftDoublyIndexedTable.Entry extends java.lang.ref.SoftReference
To manage collisions
-
-
Field Summary
Fields Modifier and Type Field Description int
hash
The hash codejava.lang.Object
key1
The first keyjava.lang.Object
key2
The second keySoftDoublyIndexedTable.Entry
next
The next entry
-
Constructor Summary
Constructors Constructor Description Entry(int hash, java.lang.Object key1, java.lang.Object key2, java.lang.Object value, SoftDoublyIndexedTable.Entry next)
Creates a new entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(java.lang.Object o1, java.lang.Object o2)
Whether this entry match the given keys.
-
-
-
Field Detail
-
hash
public int hash
The hash code
-
key1
public java.lang.Object key1
The first key
-
key2
public java.lang.Object key2
The second key
-
next
public SoftDoublyIndexedTable.Entry next
The next entry
-
-
Constructor Detail
-
Entry
public Entry(int hash, java.lang.Object key1, java.lang.Object key2, java.lang.Object value, SoftDoublyIndexedTable.Entry next)
Creates a new entry
-
-