codesimian
Class Exec.NanNoPrev

java.lang.Object
  extended by codesimian.CS
      extended by codesimian.DefaultCS
          extended by codesimian.Exec
              extended by codesimian.Exec.NanNoPrev
All Implemented Interfaces:
CodeSimian, java.io.Serializable
Enclosing class:
Exec

public static class Exec.NanNoPrev
extends Exec

CS execMe = this.P(0); Normally returns execMe.DForProxy(), but returns execMe.prevD() if:
-- execMe.DForProxy() returns NaN, infinity, or -infinity.
WARNING: Sometimes returns prevExec, but never sets it. PrevExec might always be 0.
This class automatically generated by Exec.javaCode(null, false, false, true, false)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class codesimian.Exec
Exec.Calc, Exec.CalcFuel, Exec.CalcFuelNan, Exec.CalcFuelNanNoPrev, Exec.CalcFuelNoPrev, Exec.CalcNan, Exec.CalcNanNoPrev, Exec.CalcNoPrev, Exec.Fuel, Exec.FuelNan, Exec.FuelNanNoPrev, Exec.FuelNoPrev, Exec.Nan, Exec.NanNoPrev, Exec.NoPrev, Exec.SetPrevExecButNeverUseIt, Exec.SubclassDescription
 
Field Summary
 
Fields inherited from class codesimian.Exec
subclassNameLimitCalcExec, subclassNameLimitFuel, subclassNameLimitValidNumber, subclassNameSetsPrevExec
 
Fields inherited from class codesimian.CS
DESCRIPTION, END, EXECPROXY, FUEL, HEAP, JAVACODE, MYFUEL, NAME, NEWINSTANCE, NULL, PARENT, PARSEPRIORITY, PREV, TESTER
 
Constructor Summary
Exec.NanNoPrev()
           
 
Method Summary
 double D()
          Execute this CS and cast to double.
 boolean limitValidNumber()
          true
 boolean setsPrevExec()
          false
 
Methods inherited from class codesimian.Exec
addSubclass, detailString, DForProxy, getClassDescription, getSubclass, instantiateSubclass, javaCode, javaCode, keyword, L, L, LForProxy, LForProxy, limitCalcExec, limitFuel
 
Methods inherited from class codesimian.DefaultCS
B, C, countP, decrementMyFuel, deleteP, description, F, fuel, getExec, getObject, heap, I, indexP, indexPName, insertB, insertC, insertD, insertF, insertI, insertJ, insertL, insertL, insertL1, insertP, insertS, insertZ, J, javaCode, minP, myFuel, name, newInstance, objectToCS, objectToCSArray, objectToCSArray, P, prevD, prevL, PType, S, setB, setC, setCountP, setD, setD, setExec, setF, setFuel, setI, setJ, setL, setL, setL, setL1, setMyFuel, setName, setObject, setP, setPrevExec, setS, setZ, start, toString, V, Z
 
Methods inherited from class codesimian.CS
addP, addP, addP, addP, addP, BForProxy, CForProxy, clone, cost, deleteP, FForProxy, IForProxy, isIllusion, javaCode, JForProxy, L, L, L, maxD, maxP, minD, overwrites, parent, parsePriority, PB, PC, PD, PF, PI, PJ, PL, prevB, prevC, prevF, prevI, prevJ, prevS, prevZ, proxyOf, PS, PZ, reflect, reflect, setB, setC, setCost, setDescription, setF, setHeap, setI, setJ, setL, setL, setParent, setParsePriority, setProxyOf, setPType, setS, setTester, setZ, SForProxy, tester, VForProxy, voidReflect, ZForProxy
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Exec.NanNoPrev

public Exec.NanNoPrev()
Method Detail

limitValidNumber

public boolean limitValidNumber()
true

Overrides:
limitValidNumber in class Exec

setsPrevExec

public boolean setsPrevExec()
false

Overrides:
setsPrevExec in class Exec

D

public double D()
Description copied from class: CS
Execute this CS and cast to double. All subclasses should override DForProxy() instead of D().

Overrides:
D in class CS
See Also:
CS.L(java.lang.Class)