protected static class OptimalScheduleFinder._TwoWayHashMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.HashMap |
_backwardMap
one-way hash map to make the backward association
|
(package private) java.util.HashMap |
_forwardMap
one-way hash map to make the forward association
|
Constructor and Description |
---|
_TwoWayHashMap()
Construct an instance of two-way hash map.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
getBW(java.lang.Object B)
Backward lookup.
|
(package private) java.lang.Object |
getFW(java.lang.Object A)
Forward lookup.
|
(package private) void |
put(java.lang.Object A,
java.lang.Object B)
Put an association between objects A and B in the hash map.
|
java.util.HashMap _forwardMap
java.util.HashMap _backwardMap
void put(java.lang.Object A, java.lang.Object B)
A
- object AB
- object Bjava.lang.Object getFW(java.lang.Object A)
A
- lookup object associated with object Ajava.lang.Object getBW(java.lang.Object B)
B
- lookup object associated with object B