public static interface Mappings.TargetMapping extends Mappings.FunctionMapping
Properties:
TODO: figure out which interfaces this should extend
| Modifier and Type | Method and Description |
|---|---|
int |
getSourceCount() |
int |
getSourceOpt(int target)
Returns the source that a target maps to, or -1 if it is not mapped.
|
int |
getTarget(int source)
Returns the target that a source maps to.
|
int |
getTargetCount() |
int |
getTargetOpt(int source)
Returns the target that a source maps to, or -1 if it is not mapped.
|
Mapping |
inverse() |
void |
set(int source,
int target) |
getMappingTypesizeforEach, iterator, spliteratorint getSourceCount()
getSourceCount in interface Mappings.FunctionMappingint getSourceOpt(int target)
int getTargetCount()
int getTarget(int source)
getTarget in interface Mappings.FunctionMappingsource - sourceMappings.NoElementException - if source is not mappedint getTargetOpt(int source)
getTargetOpt in interface Mappings.FunctionMappingvoid set(int source,
int target)
Mapping inverse()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.