public static final class PredictionContext.IdentityEqualityComparator extends AbstractEqualityComparator<PredictionContext>
| Modifier and Type | Field and Description |
|---|---|
static PredictionContext.IdentityEqualityComparator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
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–2024 Daniel Sun. All rights reserved.