public class SolutionType
extends java.lang.Object
| Constructor and Description |
|---|
SolutionType(int size) |
| Modifier and Type | Method and Description |
|---|---|
SolutionType |
clone() |
boolean |
compatible(SolutionType that) |
boolean |
equals(java.lang.Object obj) |
void |
flipOrientation(int index) |
static java.util.ArrayList<SolutionType> |
generateSolutionTypes(int length) |
java.awt.Color |
getColor() |
int |
getEncoding() |
int |
getOrientation(int index) |
int |
getSize() |
void |
setOrientation(int index,
int value) |
java.lang.String |
toString() |
public int getSize()
public int getOrientation(int index)
public void setOrientation(int index,
int value)
public SolutionType clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean compatible(SolutionType that)
public static java.util.ArrayList<SolutionType> generateSolutionTypes(int length)
public void flipOrientation(int index)
public int getEncoding()
public java.awt.Color getColor()