public interface Hint
Each hint has a type; the standard types are defined by HintType
.
For each standard type there is a corresponding concrete class that holds
the payload of the hint.
To allow experimenters to define their own hint types, each type is encoded as an integer. Note that positive integers are reserved; experimenters should express their custom hint types using negative integers.
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.
|
int getEncodedType()
HintType getType()
getEncodedType()
.Copyright © 2015. All Rights Reserved.