public abstract class AbstractHint extends Object implements Hint
Hint
that handles the hint type.
Subclasses must provide the payload implementation.Modifier | Constructor and Description |
---|---|
protected |
AbstractHint(int encodedType)
Constructs the hint.
|
Modifier and Type | Method and Description |
---|---|
int |
getEncodedType()
Returns the hint type encoded as an integer.
|
HintType |
getType()
Returns the hint type, if it is a standard type.
|
String |
toString() |
protected AbstractHint(int encodedType)
encodedType
- the hint type encoded as an integerpublic int getEncodedType()
Hint
getEncodedType
in interface Hint
public HintType getType()
Hint
Hint.getEncodedType()
.Copyright © 2016. All Rights Reserved.