Class Opening
java.lang.Object
|
+----Opening
- class Opening
- extends Object
An object that contains an opening's data.
- Version:
- 1.00
- Author:
- Bill Lorton
-
Opening()
-
The Opening constructor.
-
frequency()
-
Gets the frequency of this opening.
-
frequencyPercent()
-
Gets the frequency percentage of this opening.
-
moves()
-
Gets the complete move string of this opening.
-
name()
-
Gets the name of this opening.
-
setFrequency(int)
-
Sets the frequency of this opening.
-
setFrequencyPercent(double)
-
Sets the frequency precentage of this opening
-
setMoves(String)
-
Sets the complete move sequence of this opening.
-
setName(String)
-
Sets the name of this opening.
Opening
public Opening()
- The Opening constructor.
setName
public void setName(String name)
- Sets the name of this opening.
- Parameters:
- name - the name of this opening
setMoves
public void setMoves(String moves)
- Sets the complete move sequence of this opening.
- Parameters:
- moves - the moves of this opening
setFrequency
public void setFrequency(int count)
- Sets the frequency of this opening.
- Parameters:
- count - the frequency of this opening
setFrequencyPercent
public void setFrequencyPercent(double percent)
- Sets the frequency precentage of this opening
- Parameters:
- percent - the frequency percentage of this opening
name
public String name()
- Gets the name of this opening.
- Returns:
- the name of this opening
moves
public String moves()
- Gets the complete move string of this opening.
- Returns:
- the move string of this opening
frequency
public int frequency()
- Gets the frequency of this opening.
- Returns:
- the frequency of this opening
frequencyPercent
public double frequencyPercent()
- Gets the frequency percentage of this opening.
- Returns:
- the frequency percentage of this opening