| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final @NotNull WeakHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public boolean | Returns: true if object equivalent to this entry's base sequence, false otherwisebase sequence baseSeq, @NotNull Object object to compare o, int[] 1 element array where to return type of equals test done
equality type used, 0 - quick class and/or length, 1 - hash, 2 - quick lookup, 3 - string content comparison, 4 - char sequence comparison equalsCall)Compare object to equality of entry's base sequence NOTE: if not char sequence or base of this entry's base sequence then will return false, so do not expect to pass a new instance of char[] and to get true for equivalent CharSubSequence |
| hash | back to summary |
|---|---|
| private int hash | |
| quickEquals | back to summary |
|---|---|
| private final @NotNull WeakHashMap<Object, Boolean> quickEquals
| |
| BaseSequenceEntry | back to summary |
|---|---|
| public BaseSequenceEntry() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| testEquals | back to summary |
|---|---|
| public boolean testEquals(@NotNull BasedSequence baseSeq, @NotNull Object o, int[] equalsCall) Compare object to equality of entry's base sequence NOTE: if not char sequence or base of this entry's base sequence then will return false, so do not expect to pass a new instance of char[] and to get true for equivalent CharSubSequence
| |