Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BidirectionalMap.java « eac « asn1 « spongycastle « org « java « main « src « core - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 479677c092de065efbfc8295e85efc5636bc3143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.spongycastle.asn1.eac;

import java.util.Hashtable;

public class BidirectionalMap
    extends Hashtable
{
    private static final long serialVersionUID = -7457289971962812909L;

    Hashtable reverseMap = new Hashtable();

    public Object getReverse(Object o)
    {
        return reverseMap.get(o);
    }

    public Object put(Object key, Object o)
    {
        reverseMap.put(o, key);
        return super.put(key, o);
    }

}