org.pealfactory.compose.halfleadspliced
Class Lead

java.lang.Object
  |
  +--org.pealfactory.compose.halfleadspliced.Lead

class Lead
extends java.lang.Object

Represents a generated lead of the composition. For the half-lead search, this is nominally two half-leads, but since Indis, is now considered as a single indivisible lead generated by a composite method. A table of Lead instances is kept by the Composition class; they are also used by OutputComp.

Note this class is performance-sensitive, so should not be modified without extensive benchmarking of a range of searches.


Field Summary
private  int fCall
           
private  Method fComposite
           
private  int fIndex
           
private  RowNode fLast
           
 
Constructor Summary
Lead()
           
 
Method Summary
 int getCall()
          Final for speed (inlining)
 RowNode getLastRow()
          Final for speed (inlining)
 Method getMethod()
          Final for speed (inlining)
 void setLead(RowNode start, Method composite, int call)
          Final for speed (inlining)
 java.lang.String toString(boolean lhOnly)
          If lhOnly set, print "C" instead of "CC".
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

fComposite

private Method fComposite

fIndex

private int fIndex

fCall

private int fCall

fLast

private RowNode fLast
Constructor Detail

Lead

public Lead()
Method Detail

setLead

public final void setLead(RowNode start,
                          Method composite,
                          int call)
Final for speed (inlining)

toString

public java.lang.String toString(boolean lhOnly)
If lhOnly set, print "C" instead of "CC".

getMethod

public final Method getMethod()
Final for speed (inlining)

getCall

public final int getCall()
Final for speed (inlining)

getLastRow

public final RowNode getLastRow()
Final for speed (inlining)