apps.twentyfourpoint.algorithm
Class Solution

java.lang.Object
  extended by apps.twentyfourpoint.algorithm.Solution

public class Solution
extends java.lang.Object

The Class Solution.


Constructor Summary
Solution(int num0, int num1, int num2, int num3)
          Instantiates a new solution.
 
Method Summary
 java.util.Vector getSolution()
          Gets the solution.
static java.lang.String getSolutionString(java.util.Vector theSolution)
          Gets the solution string.
 boolean hasSolution()
          Checks for solution.
static void main(java.lang.String[] args)
          The main method.
static void printSolution(java.util.Vector theSolution)
          Prints the solution.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Solution

public Solution(int num0,
                int num1,
                int num2,
                int num3)
Instantiates a new solution.

Parameters:
num0 - the num0
num1 - the num1
num2 - the num2
num3 - the num3
Method Detail

getSolutionString

public static java.lang.String getSolutionString(java.util.Vector theSolution)
Gets the solution string.

Parameters:
theSolution - the the solution
Returns:
the solution string

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments

printSolution

public static void printSolution(java.util.Vector theSolution)
Prints the solution.

Parameters:
theSolution - the the solution

getSolution

public java.util.Vector getSolution()
Gets the solution.

Returns:
the solution

hasSolution

public boolean hasSolution()
Checks for solution.

Returns:
true, if successful