Top Fields Constructors Methods
org.bouncycastle.asn1.eac

public Class BidirectionalMap

extends Hashtable
Class Inheritance
Imports
java.util.Hashtable

Field Summary

Modifier and TypeField and Description
pack-priv Hashtable<K, V>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public Object
put(Object
the hashtable key
key
,
Object
the value
o
)

Overrides java.util.Hashtable.put.

Implements java.util.Map.put.

Maps the specified key to the specified value in this hashtable.
Inherited from java.util.Hashtable:
clearclonecomputecomputeIfAbsentcomputeIfPresentcontainscontainsKeycontainsValueelementsentrySetequalsforEachgetgetOrDefaulthashCodeisEmptykeyskeySetmergeputAllputIfAbsentrehashremoveremovereplacereplacereplaceAllsizetoStringvalues

Field Detail

reverseMapback to summary
pack-priv Hashtable<K, V> reverseMap
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.Hashtable.serialVersionUID.

Constructor Detail

BidirectionalMapback to summary
public BidirectionalMap()

Method Detail

getReverseback to summary
public Object getReverse(Object o)
putback to summary
public Object put(Object key, Object o)

Overrides java.util.Hashtable.put.

Implements java.util.Map.put.

Doc from java.util.Hashtable.put.

Maps the specified key to the specified value in this hashtable. Neither the key nor the value can be null.

The value can be retrieved by calling the get method with a key that is equal to the original key.

Parameters
key:Object

the hashtable key

o:Object

the value

Returns:Object

the previous value of the specified key in this hashtable, or null if it did not have one