|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PathCombiner
Generic algorithm to combine two Paths into one Path.
| Field Summary | |
|---|---|
static PathCombiner |
APPEND
This combiner uses Path.append(Path) to combine its paths. |
static PathCombiner |
SECOND
This combiner always discards the first path and just returns the second. |
static PathCombiner |
UNIQUE
This combiner uses Path.uniqueAppend(Path) to combine its paths. |
| Method Summary | |
|---|---|
Path |
combine(Path first,
Path second)
Creates a combination of first and of second. |
| Field Detail |
|---|
static final PathCombiner APPEND
Path.append(Path) to combine its paths.
static final PathCombiner UNIQUE
Path.uniqueAppend(Path) to combine its paths.
static final PathCombiner SECOND
| Method Detail |
|---|
Path combine(Path first,
Path second)
first and of second. It
is up to this combiner how the combination looks. This method must respect
only one condition: combine( x, y ) = combine( x, y )
must be true for all times.
first - the first part of the path, not nullsecond - the second part of the path, not null
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||