public static class Puzzle.Solution extends ArrayList<Coordinate>
modCount
Modifier and Type | Method and Description |
---|---|
CharSequence |
getSolution(Puzzle puzzle)
|
boolean |
isSolved(Puzzle puzzle)
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public CharSequence getSolution(Puzzle puzzle)
puzzle
- The Puzzle
.Puzzle.Solution
CharSequence
.public boolean isSolved(Puzzle puzzle)
puzzle
- The Puzzle
.true
if the Puzzle.Solution
is complete;
false
otherwise.Copyright © 2015–2020 Allen D. Ball. All rights reserved.