public abstract class AbstractMergeSet extends Object
Modifier and Type | Field and Description |
---|---|
List |
inBoth
Items in both sides (conflicts).
|
List |
inLeftOnly
Items just in the left hand side.
|
List |
inRightOnly
Items just in the right hand side.
|
Constructor and Description |
---|
AbstractMergeSet() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(Element e)
As a result of the merge, add an element to the output.
|
int |
merge(MergeStrategy action)
Perform the merge using the passed strategy.
|
abstract void |
remove(Element e)
As a result of the merge, remove an element from the output.
|
public List inLeftOnly
public List inRightOnly
public List inBoth
public int merge(MergeStrategy action)
action
- in the strategy to use when mergingpublic abstract void add(Element e)
e
- the element to be addedpublic abstract void remove(Element e)
e
- the element to be removedCopyright © 2004-2013 Codehaus. All Rights Reserved.