static class LoggedCollection.AstKey
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
astId
The source AST ID.
|
(package private) long |
fileId
The file AST ID.
|
(package private) java.lang.Object |
key
The change key.
|
| Constructor and Description |
|---|
AstKey(long fileId,
long astId,
java.lang.Object key)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Check if this instance is the same as the specified one.
|
int |
hashCode()
Calculate the hashcode for this key.
|
final long fileId
final long astId
final java.lang.Object key
public AstKey(long fileId,
long astId,
java.lang.Object key)
fileId - The file AST ID.astId - The source AST ID.key - The change key.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare against.true if the specified object has the same key, file and AST ID
as this one.