Package org.apache.batik.util
Class DoublyIndexedTable.Entry
- java.lang.Object
-
- org.apache.batik.util.DoublyIndexedTable.Entry
-
- Enclosing class:
- DoublyIndexedTable
public static class DoublyIndexedTable.Entry extends java.lang.Object
An entry in theDoublyIndexedTable
.
-
-
Constructor Summary
Constructors Constructor Description Entry(int hash, java.lang.Object key1, java.lang.Object key2, java.lang.Object value, DoublyIndexedTable.Entry next)
Creates a new entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey1()
Returns this entry's first key.java.lang.Object
getKey2()
Returns this entry's second key.java.lang.Object
getValue()
Returns this entry's value.protected boolean
match(java.lang.Object o1, java.lang.Object o2)
Whether this entry match the given keys.
-
-
-
Field Detail
-
hash
protected int hash
The hash code.
-
key1
protected java.lang.Object key1
The first key.
-
key2
protected java.lang.Object key2
The second key.
-
value
protected java.lang.Object value
The value.
-
next
protected DoublyIndexedTable.Entry next
The next entry.
-
-
Constructor Detail
-
Entry
public Entry(int hash, java.lang.Object key1, java.lang.Object key2, java.lang.Object value, DoublyIndexedTable.Entry next)
Creates a new entry.
-
-
Method Detail
-
getKey1
public java.lang.Object getKey1()
Returns this entry's first key.
-
getKey2
public java.lang.Object getKey2()
Returns this entry's second key.
-
getValue
public java.lang.Object getValue()
Returns this entry's value.
-
match
protected boolean match(java.lang.Object o1, java.lang.Object o2)
Whether this entry match the given keys.
-
-