Package org.eclipse.jgit.diff
Class Sequence
- java.lang.Object
-
- org.eclipse.jgit.diff.Sequence
-
- Direct Known Subclasses:
HashedSequence,RawText,SubmoduleConflict,Subsequence
public abstract class Sequence extends java.lang.ObjectArbitrary sequence of elements.A sequence of elements is defined to contain elements in the index range
[0,, like a standard Java List implementation. Unlike a List, the members of the sequence are not directly obtainable.size())Implementations of Sequence are primarily intended for use in content difference detection algorithms, to produce an
EditListofEditinstances describing how two Sequence instances differ.To be compared against another Sequence of the same type, a supporting
SequenceComparatormust also be supplied.
-
-
Constructor Summary
Constructors Constructor Description Sequence()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intsize()Get size
-