net.sourceforge.domian.test.benchmark
Class QueenPuzzleConstellation
java.lang.Object
net.sourceforge.domian.entity.AbstractEntity
net.sourceforge.domian.entity.AbstractUUIDEntity
net.sourceforge.domian.test.benchmark.QueenPuzzleConstellation
- All Implemented Interfaces:
- Entity
final class QueenPuzzleConstellation
- extends AbstractUUIDEntity
A simple entity class for holding a complete queen puzzle constellation consisting of eight queen pieces.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
constellationNumberGenerator
private static final java.util.concurrent.atomic.AtomicLong constellationNumberGenerator
constellationNumber
private final long constellationNumber
timeOfCreation
private final long timeOfCreation
solvesQueenPuzzle
private java.lang.Boolean solvesQueenPuzzle
queen1Placing
private final ChessPiecePlacing queen1Placing
queen2Placing
private final ChessPiecePlacing queen2Placing
queen3Placing
private final ChessPiecePlacing queen3Placing
queen4Placing
private final ChessPiecePlacing queen4Placing
queen5Placing
private final ChessPiecePlacing queen5Placing
queen6Placing
private final ChessPiecePlacing queen6Placing
queen7Placing
private final ChessPiecePlacing queen7Placing
queen8Placing
private final ChessPiecePlacing queen8Placing
QueenPuzzleConstellation
QueenPuzzleConstellation(ChessPiecePlacing queen1Placing,
ChessPiecePlacing queen2Placing,
ChessPiecePlacing queen3Placing,
ChessPiecePlacing queen4Placing,
ChessPiecePlacing queen5Placing,
ChessPiecePlacing queen6Placing,
ChessPiecePlacing queen7Placing,
ChessPiecePlacing queen8Placing)
- Parameters:
queen1Placing
- the first queen piecequeen2Placing
- the second queen piecequeen3Placing
- the third queen piecequeen4Placing
- the forth queen piecequeen5Placing
- the fifth queen piecequeen6Placing
- the sixth queen piecequeen7Placing
- the seventh queen piecequeen8Placing
- the eighth queen piece
resetConstellationNumber
public static void resetConstellationNumber()
getQueen1Placing
ChessPiecePlacing getQueen1Placing()
getQueen2Placing
ChessPiecePlacing getQueen2Placing()
getQueen3Placing
ChessPiecePlacing getQueen3Placing()
getQueen4Placing
ChessPiecePlacing getQueen4Placing()
getQueen5Placing
ChessPiecePlacing getQueen5Placing()
getQueen6Placing
ChessPiecePlacing getQueen6Placing()
getQueen7Placing
ChessPiecePlacing getQueen7Placing()
getQueen8Placing
ChessPiecePlacing getQueen8Placing()
setSolvesQueenPuzzle
void setSolvesQueenPuzzle(java.lang.Boolean doSolveTheQueenPuzzle)
isProcessed
java.lang.Boolean isProcessed()
solvesQueenPuzzle
java.lang.Boolean solvesQueenPuzzle()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractEntity
Copyright © 2008-2010. All Rights Reserved.