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) |
int |
getTarget(int target)
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) |
getMappingTypesizeint getSourceCount()
getSourceCount in interface Mappings.FunctionMappingint getSourceOpt(int target)
int getTargetCount()
int getTarget(int target)
Mappings.FunctionMappinggetTarget in interface Mappings.FunctionMappingtarget - sourceint getTargetOpt(int source)
Mappings.FunctionMappinggetTargetOpt in interface Mappings.FunctionMappingvoid set(int source,
int target)
Mapping inverse()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.