uk.co.keang.sudoku
Class SequenceBuffer

java.lang.Object
  extended by uk.co.keang.sudoku.SequenceBuffer
All Implemented Interfaces:
SolverListener

public class SequenceBuffer
extends java.lang.Object
implements SolverListener

Author:
A.G.Docherty

Constructor Summary
SequenceBuffer()
           
 
Method Summary
 void clear()
           
 java.util.List<SolutionEvent> getCoalescedEvents()
           
 Puzzle getStartGrid()
          Gets the start grid
 void removedPossibleValues(SolutionEvent event)
           
 void setStartGrid(Puzzle grid)
          Sets the start grid
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceBuffer

public SequenceBuffer()
Method Detail

removedPossibleValues

public void removedPossibleValues(SolutionEvent event)
Specified by:
removedPossibleValues in interface SolverListener

getCoalescedEvents

public java.util.List<SolutionEvent> getCoalescedEvents()

toString

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

setStartGrid

public void setStartGrid(Puzzle grid)
Sets the start grid

Parameters:
grid -

getStartGrid

public Puzzle getStartGrid()
Gets the start grid

Returns:
the grid

clear

public void clear()