|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.aerith.misao.util.Pair
The Pair represents a pair of two Positions.
| Field Summary | |
protected Position |
first_position
The first position. |
protected Position |
second_position
The second position. |
| Constructor Summary | |
protected |
Pair()
Constructs an empty Pair. |
|
Pair(Position position1,
Position position2)
Constructs a Pair. |
| Method Summary | |
Position |
getFirstPosition()
Gets the first position. |
Position |
getSecondPosition()
Gets the second position. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected Position first_position
protected Position second_position
| Constructor Detail |
protected Pair()
Pair.
public Pair(Position position1,
Position position2)
Pair.position1 - the first position of the pair.position2 - the second position of the pair.| Method Detail |
public Position getFirstPosition()
public Position getSecondPosition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||