Top Fields Constructors Methods
com.vladsch.flexmark.util.collection

public Class TwoWayHashMap<F, S>

extends Object
Class Inheritance
Imports
org.jetbrains.annotations.NotNull, .Nullable, java.util.HashMap

Field Summary

Modifier and TypeField and Description
private @NotNull HashMap<F, S>
private @NotNull HashMap<S, F>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(F f, S s)

public F
getFirst(S s)

public S
getSecond(F f)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fToSMapback to summary
private @NotNull HashMap<F, S> fToSMap
Annotations
@NotNull
sToFMapback to summary
private @NotNull HashMap<S, F> sToFMap
Annotations
@NotNull

Constructor Detail

TwoWayHashMapback to summary
public TwoWayHashMap()

Method Detail

addback to summary
public void add(F f, S s)
getFirstback to summary
public F getFirst(S s)
Annotations
@Nullable
getSecondback to summary
public S getSecond(F f)
Annotations
@Nullable