public interface FullMappings extends BiMappings
Modifier and Type | Method and Description |
---|---|
int |
id(java.lang.String identifier)
Returns the unmapped integer id for the given identifier, or -1 if not found.
|
@Nullable java.lang.String |
identifier(int id)
Returns the unmapped string identifier for the given mapped id.
|
FullMappings |
inverse()
Returns the inverse of the bimappings.
|
int |
mappedId(java.lang.String mappedIdentifier)
Returns the mapped integer id for the given mapped identifier, or -1 if not found.
|
@Nullable java.lang.String |
mappedIdentifier(int mappedId)
Returns the mapped string identifier for the given mapped id.
|
@Nullable java.lang.String |
mappedIdentifier(java.lang.String identifier)
Returns the mapped string identifier for the given unmapped identifier.
|
of, of
contains, getNewId, getNewIdOrDefault, mappedSize, setNewId, size
int id(java.lang.String identifier)
identifier
- unmapped string identifierint mappedId(java.lang.String mappedIdentifier)
mappedIdentifier
- mapped string identifier@Nullable java.lang.String identifier(int id)
id
- unmapped id@Nullable java.lang.String mappedIdentifier(int mappedId)
mappedId
- mapped id@Nullable java.lang.String mappedIdentifier(java.lang.String identifier)
identifier
- unmapped identifierFullMappings inverse()
BiMappings
inverse
in interface BiMappings
inverse
in interface Mappings