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) |
getMappingType
size
int getSourceCount()
getSourceCount
in interface Mappings.FunctionMapping
int getSourceOpt(int target)
int getTargetCount()
int getTarget(int target)
Mappings.FunctionMapping
getTarget
in interface Mappings.FunctionMapping
target
- sourceint getTargetOpt(int source)
Mappings.FunctionMapping
getTargetOpt
in interface Mappings.FunctionMapping
void set(int source, int target)
Mapping inverse()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.