private static class SourceNameMapper.InternalEntryKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
function
Does entry represent a function?
|
private int |
hashCode
The cached hash code.
|
private java.lang.String |
name
Normalized (lowercased) legacy entry name
|
Modifier | Constructor and Description |
---|---|
private |
InternalEntryKey(boolean function,
java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Determine equivalence with the given key object.
|
int |
hashCode()
Generate a hash code consistent with
equals(Object) . |
private final boolean function
private final java.lang.String name
private final int hashCode
private InternalEntryKey(boolean function, java.lang.String name)
function
- Does entry represent a function?name
- Legacy name.public int hashCode()
equals(Object)
.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
if the internal states of this key and the given key match,
else false
.