Google Guava HashBasedTable Example



A simple example showing how to establish a Google Guava Hash Based Table.


Notes

  • A class called Board represents a Sudoku Board
  • Create a Hash Based Table which contains a Cell Class
  • Create the Hash Based Table in the constructor
  • Load the board using a int array
  • Print a simple representation of the board
  • Cell class below shows a simple way to represent a cell on a Sudoku Board









Comments

Popular posts from this blog

Vaadin - GRID Component

Connecting a Vaadin SQL Container to a Combo Box

Vaadin and Google Maps