forked from jasder/antlr
Improved formatting of PredictionContext reference hash code algorithm
This commit is contained in:
parent
d7a7436271
commit
eb3b84fa7d
|
@ -71,17 +71,17 @@ public abstract class PredictionContext {
|
|||
*
|
||||
* <pre>
|
||||
* private int referenceHashCode() {
|
||||
* int hash = {@link MurmurHash#initialize}({@link #INITIAL_HASH});
|
||||
* int hash = {@link MurmurHash#initialize MurmurHash.initialize}({@link #INITIAL_HASH});
|
||||
*
|
||||
* for (int i = 0; i < {@link #size()}; i++) {
|
||||
* hash = {@link MurmurHash#update}(hash, {@link #getParent}(i));
|
||||
* hash = {@link MurmurHash#update MurmurHash.update}(hash, {@link #getParent getParent}(i));
|
||||
* }
|
||||
*
|
||||
* for (int i = 0; i < {@link #size()}; i++) {
|
||||
* hash = {@link MurmurHash#update}(hash, {@link #getReturnState}(i));
|
||||
* hash = {@link MurmurHash#update MurmurHash.update}(hash, {@link #getReturnState getReturnState}(i));
|
||||
* }
|
||||
*
|
||||
* hash = {@link MurmurHash#finish}(hash, 2 * {@link #size()});
|
||||
* hash = {@link MurmurHash#finish MurmurHash.finish}(hash, 2 * {@link #size()});
|
||||
* return hash;
|
||||
* }
|
||||
* </pre>
|
||||
|
|
Loading…
Reference in New Issue