org.eclipse.jgit.diff.Sequence instances to cache their
element hash codes.
This pair wraps two sequences that contain cached hash codes for the input sequences.
| Modifier and Type | Field and Description |
|---|---|
| private final S | |
| private final S | |
| private HashedSequence | |
| private HashedSequence | |
| private final SequenceComparator |
| Access | Constructor and Description |
|---|---|
| public | HashedSequencePair(SequenceComparator<? super S>
the base comparator for the sequence elements. cmp, S the A sequence. a, S the B sequence. b)Construct a pair to provide fast hash codes. |
| Modifier and Type | Method and Description |
|---|---|
| public HashedSequence | |
| public HashedSequence | |
| public HashedSequenceComparator | |
| private HashedSequence |
| baseA | back to summary |
|---|---|
| private final S baseA | |
| baseB | back to summary |
|---|---|
| private final S baseB | |
| cachedA | back to summary |
|---|---|
| private HashedSequence<S> cachedA | |
| cachedB | back to summary |
|---|---|
| private HashedSequence<S> cachedB | |
| cmp | back to summary |
|---|---|
| private final SequenceComparator<? super S> cmp | |
| HashedSequencePair | back to summary |
|---|---|
| public HashedSequencePair(SequenceComparator<? super S> cmp, S a, S b) Construct a pair to provide fast hash codes.
| |
| getA | back to summary |
|---|---|
| public HashedSequence Get A
| |
| getB | back to summary |
|---|---|
| public HashedSequence Get B
| |
| getComparator | back to summary |
|---|---|
| public HashedSequenceComparator Get comparator
| |
| wrap | back to summary |
|---|---|
| private HashedSequence | |