uk.co.keang.sudoku
Class Generator.PuzzleStoreItem

java.lang.Object
  extended by uk.co.keang.sudoku.Generator.PuzzleStoreItem
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<Generator.PuzzleStoreItem>
Enclosing class:
Generator

public static class Generator.PuzzleStoreItem
extends java.lang.Object
implements java.lang.Comparable<Generator.PuzzleStoreItem>, java.lang.Cloneable

Author:
A.G.Docherty

Constructor Summary
Generator.PuzzleStoreItem(int d, int c, Puzzle p)
           
 
Method Summary
protected  Generator.PuzzleStoreItem clone()
           
 int compareTo(Generator.PuzzleStoreItem o)
           
 boolean equals(java.lang.Object obj)
           
 int getDifficulty()
           
 Puzzle getPuzzle()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Generator.PuzzleStoreItem

Generator.PuzzleStoreItem(int d,
                          int c,
                          Puzzle p)
Method Detail

getDifficulty

public int getDifficulty()
Returns:
the difficulty

getPuzzle

public Puzzle getPuzzle()
Returns:
the puzzle

compareTo

public int compareTo(Generator.PuzzleStoreItem o)
Specified by:
compareTo in interface java.lang.Comparable<Generator.PuzzleStoreItem>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

protected Generator.PuzzleStoreItem clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object