uk.co.keang.sudoku
Class Generator.PuzzleStoreItem
java.lang.Object
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
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Generator.PuzzleStoreItem
Generator.PuzzleStoreItem(int d,
int c,
Puzzle p)
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