org.apache.batik.util

Class DoublyIndexedTable.Entry

public static class DoublyIndexedTable.Entry extends Object

An entry in the DoublyIndexedTable.
Field Summary
protected inthash
The hash code.
protected Objectkey1
The first key.
protected Objectkey2
The second key.
protected DoublyIndexedTable.Entrynext
The next entry.
protected Objectvalue
The value.
Constructor Summary
Entry(int hash, Object key1, Object key2, Object value, DoublyIndexedTable.Entry next)
Creates a new entry.
Method Summary
ObjectgetKey1()
Returns this entry's first key.
ObjectgetKey2()
Returns this entry's second key.
ObjectgetValue()
Returns this entry's value.
protected booleanmatch(Object o1, Object o2)
Whether this entry match the given keys.

Field Detail

hash

protected int hash
The hash code.

key1

protected Object key1
The first key.

key2

protected Object key2
The second key.

protected DoublyIndexedTable.Entry next
The next entry.

value

protected Object value
The value.

Constructor Detail

Entry

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

Method Detail

getKey1

public Object getKey1()
Returns this entry's first key.

getKey2

public Object getKey2()
Returns this entry's second key.

getValue

public Object getValue()
Returns this entry's value.

match

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