O
- the AbstractOption
that this option value is created byV
- the type of the value of the option 'O'
public abstract class AbstractOptionValue<O extends AbstractOption<V>,V> extends Object
AbstractOption
.AbstractOption
,
AbstractOptions
Modifier | Constructor and Description |
---|---|
protected |
AbstractOptionValue(O option,
V value)
Creates a new instance with the specified
option and value . |
Modifier and Type | Method and Description |
---|---|
O |
option()
Returns the option that this option value holder belongs to.
|
String |
toString() |
V |
value()
Returns the value of this option value holder has.
|
© Copyright 2015–2017 LINE Corporation. All rights reserved.