public static interface Mappings.SourceMapping extends Mappings.CoreMapping
Properties:
TODO: figure out which interfaces this should extend
| Modifier and Type | Method and Description |
|---|---|
MappingType |
getMappingType()
Returns the mapping type.
|
int |
getSource(int target)
Returns the source that a target maps to.
|
int |
getSourceCount() |
int |
getSourceOpt(int target)
Returns the source that a target maps to, or -1 if it is not mapped.
|
int |
getTargetCount() |
int |
getTargetOpt(int source)
Returns the target that a source maps to, or -1 if it is not mapped.
|
Mapping |
inverse() |
boolean |
isIdentity() |
sizeforEach, iterator, spliteratorint getSourceCount()
int getSource(int target)
target - targetMappings.NoElementException - if target is not mappedint getSourceOpt(int target)
int getTargetCount()
int getTargetOpt(int source)
MappingType getMappingType()
Mappings.CoreMappinggetMappingType in interface Mappings.CoreMappingboolean isIdentity()
Mapping inverse()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.