public static final class PredictionContext.IdentityEqualityComparator extends AbstractEqualityComparator<PredictionContext>
| 限定符和类型 | 字段和说明 |
|---|---|
static PredictionContext.IdentityEqualityComparator |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(PredictionContext a,
PredictionContext b)
This method tests if two objects are equal.
|
int |
hashCode(PredictionContext obj)
This method returns a hash code for the specified object.
|
public static final PredictionContext.IdentityEqualityComparator INSTANCE
public int hashCode(PredictionContext obj)
EqualityComparatorobj - The object.obj.public boolean equals(PredictionContext a, PredictionContext b)
EqualityComparatora - The first object to compare.b - The second object to compare.true if a equals b, otherwise false.Copyright © 1992–2022 Daniel Sun. All rights reserved.