| Modifier and Type | Class and Description |
|---|---|
| public static enum | MergeChunk.
A state telling whether a MergeChunk belongs to a conflict or not. |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final MergeChunk. | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| protected | MergeChunk(int
determines to which sequence this chunks belongs to. Same as
in sequenceIndex, int org.the first element from the specified sequence which should be
included in the merge result. Indexes start with 0. begin, int specifies the end of the range to be added. The element this
index points to is the first element which not added to the
merge result. All elements between begin (including begin) and
this element are added. end, MergeChunk.the state of this chunk. See
conflictStateorg.Creates a new empty MergeChunk |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the first element from the specified sequence which should be included in the merge result. Indexes start with 0.Get the first element from the specified sequence which should be included in the merge result. |
| public MergeChunk. | Returns: the state of this chunk. Seeorg.Get the state of this chunk. |
| public int | Returns: the end of the range of this chunk. The element this index points to is the first element which not added to the merge result. All elements between begin (including begin) and this element are added.Get the end of the range of this chunk. |
| public int | Returns: the index of the sequence to which this sequence chunks belongs to. Same as inorg.Get the index of the sequence to which this sequence chunks belongs to. |
| begin | back to summary |
|---|---|
| private final int begin | |
| conflictState | back to summary |
|---|---|
| private final MergeChunk. | |
| end | back to summary |
|---|---|
| private final int end | |
| sequenceIndex | back to summary |
|---|---|
| private final int sequenceIndex | |
| MergeChunk | back to summary |
|---|---|
| protected MergeChunk(int sequenceIndex, int begin, int end, MergeChunk. Creates a new empty MergeChunk
| |
| getBegin | back to summary |
|---|---|
| public int getBegin() Get the first element from the specified sequence which should be included in the merge result.
| |
| getConflictState | back to summary |
|---|---|
| public MergeChunk. Get the state of this chunk.
| |
| getEnd | back to summary |
|---|---|
| public int getEnd() Get the end of the range of this chunk.
| |
| getSequenceIndex | back to summary |
|---|---|
| public int getSequenceIndex() Get the index of the sequence to which this sequence chunks belongs to.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final MergeChunk. | BASE_CONFLICTING_RANGE
This chunk does belong to a conflict and is the base section of the conflicting chunks |
| public static final MergeChunk. | FIRST_CONFLICTING_RANGE
This chunk does belong to a conflict and is the ours section of the conflicting chunks |
| public static final MergeChunk. | NEXT_CONFLICTING_RANGE
This chunk does belong to a conflict and is the theirs section of the conflicting chunks. |
| public static final MergeChunk. | NO_CONFLICT
This chunk does not belong to a conflict |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MergeChunk. | |
| public static MergeChunk. |
| BASE_CONFLICTING_RANGE | back to summary |
|---|---|
| public static final MergeChunk. This chunk does belong to a conflict and is the base section of the conflicting chunks
| |
| FIRST_CONFLICTING_RANGE | back to summary |
|---|---|
| public static final MergeChunk. This chunk does belong to a conflict and is the ours section of the conflicting chunks | |
| NEXT_CONFLICTING_RANGE | back to summary |
|---|---|
| public static final MergeChunk. This chunk does belong to a conflict and is the theirs section of the conflicting chunks. It's a subsequent one. | |
| NO_CONFLICT | back to summary |
|---|---|
| public static final MergeChunk. This chunk does not belong to a conflict | |
| ConflictState | back to summary |
|---|---|
| private ConflictState() | |
| valueOf | back to summary |
|---|---|
| public static MergeChunk. | |
| values | back to summary |
|---|---|
| public static MergeChunk. | |