public boolean isVisited ( int loc ) { if ( checkBounds ( loc ) ) { return ( ONE == this . registry [ loc ] ) ; } else { throw new RuntimeException ( "The location " + loc + " out of bounds [0," + ( this . registry . length - 1 ) + "]" ) ; } }
Check if the location specified is visited .