org.apache.batik.util

Class SoftDoublyIndexedTable.Entry

protected class SoftDoublyIndexedTable.Entry extends SoftReference

To manage collisions
Field Summary
inthash
The hash code
Objectkey1
The first key
Objectkey2
The second key
SoftDoublyIndexedTable.Entrynext
The next entry
Constructor Summary
Entry(int hash, Object key1, Object key2, Object value, SoftDoublyIndexedTable.Entry next)
Creates a new entry
Method Summary
booleanmatch(Object o1, Object o2)
Whether this entry match the given keys.

Field Detail

hash

public int hash
The hash code

key1

public Object key1
The first key

key2

public Object key2
The second key

public SoftDoublyIndexedTable.Entry next
The next entry

Constructor Detail

Entry

public Entry(int hash, Object key1, Object key2, Object value, SoftDoublyIndexedTable.Entry next)
Creates a new entry

Method Detail

match

public boolean match(Object o1, Object o2)
Whether this entry match the given keys.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.