|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.gp.GPData
ac.essex.ooechs.ecj.ecj2java.example.data.DoubleData
public class DoubleData
Allows a double data type to be passed up and down the tree.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version, provided that any use properly credits the author. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org
Field Summary | |
---|---|
double |
x
|
Fields inherited from class ec.gp.GPData |
---|
P_GPDATA |
Constructor Summary | |
---|---|
DoubleData()
|
Method Summary | |
---|---|
ec.gp.GPData |
copyTo(ec.gp.GPData gpd)
|
boolean |
getBoolean()
Allows the DoubleData to handle boolean data by assuming a value of either 0 or 1. |
void |
setBoolean(boolean b)
Sets the double data as a boolean value: If the boolean is true, the value is set to 1 If the boolean is false, the value is set to 0 |
Methods inherited from class ec.gp.GPData |
---|
defaultBase, protoClone, protoCloneSimple, setup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double x
Constructor Detail |
---|
public DoubleData()
Method Detail |
---|
public ec.gp.GPData copyTo(ec.gp.GPData gpd)
copyTo
in class ec.gp.GPData
public boolean getBoolean()
public void setBoolean(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |