LabelType - The type of label.PositionType - The type of the referenced position.ValueType - The type of the value.public interface Labeled<LabelType,PositionType,ValueType>
| Modifier and Type | Method and Description |
|---|---|
PositionType |
getPositionFromLabel(LabelType label)
Returns the position from the label (if there is any).
|
default ValueType |
getValueForLabel(LabelType label)
Returns the value for a label.
|
ValueType |
getValueFromPosition(PositionType position)
Returns a value from a position.
|
void |
labelPosition(LabelType label,
PositionType position)
Applies a label to a certain position.
|
void labelPosition(LabelType label, PositionType position)
label - The label.position - The position.PositionType getPositionFromLabel(LabelType label)
label - The label.ValueType getValueFromPosition(PositionType position)
position - The position.Copyright © 2017. All rights reserved.