|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSStop
class TSStop
.
====================================================================== Class TSStop -- Definition of stops within stations Attention: This class is used for 'services' ONLY ##TSStop (Eyecatcher) ======================================================================
Field Summary | |
---|---|
private boolean |
DErr
|
private double |
Dist
|
protected static java.lang.String |
IdStr
|
private TSRefC |
PfID
|
private int |
SkCnt
|
Constructor Summary | |
---|---|
protected |
TSStop()
. |
protected |
TSStop(int id,
int sc,
double dst)
. |
Method Summary | |
---|---|
protected double |
chkDist(double d)
. |
protected int |
chkID(int cNr)
. |
protected int |
chkSkip(int w)
. |
int |
compareTo(TSStop vH)
. |
protected int |
crDef(java.util.ArrayList<java.lang.String> LneT,
int nr,
java.lang.String prfx)
. |
protected int |
crDef(java.util.ArrayList<java.lang.String> LneT,
int nr,
java.lang.String msg,
java.lang.String prfx)
. |
protected TSTrItm |
fndTrI(TSRoute cR)
. |
protected java.lang.String |
toStr()
. |
protected TSRefC |
XXXchgID(TSTrItm cIt)
. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
private int SkCnt
private double Dist
private TSRefC PfID
private boolean DErr
Constructor Detail |
---|
protected TSStop()
===================================================================== Constructor: (1) Create Default-Entry =====================================================================
protected TSStop(int id, int sc, double dst)
===================================================================== Constructor: (2) Create Standard-Entry =====================================================================
Method Detail |
---|
protected final TSRefC XXXchgID(TSTrItm cIt)
===================================================================== Method "chgID" Replace TrItem-Database for TrItem-reference within 'PfID'. Method returns the old platform-reference Method also stores new TrItem-NUMBER to 'RetVal' for error- processing. --- Method is NOT referenced until now. (marked by 'XXX...') --- ##chgID.TSStop (Eyecatcher) =====================================================================
protected final double chkDist(double d)
===================================================================== Method "chkDist" Check distance if it is ascending. Return marker (negative value) if this not valid. Attention: If this method is called using 'Double.NaN' as the argument, the current distance is returned. ##chkDist.TSStop (Eyecatcher) =====================================================================
protected final int chkID(int cNr)
===================================================================== Method "chkID" Compare Numbers of Platform-ID Method returns '0' if ID-number is equal (else difference) (Also compare to methode 'Comparable.compareTo()') Attention: if this method is called using '0' as the argument, the current 'PlatformID' is returned. ##chkID.TSStop (Eyecatcher) =====================================================================
protected final int chkSkip(int w)
===================================================================== Methode "chkSkip" Check 'Skip-Value' if it is ascending. Return marker (negative value) if this not valid. Attention: if this method is called using '0' as the argument, the current 'Skip-Value' is returned (because the current value is always >=0). ##chkSkip.TSStop (Eyecatcher) =====================================================================
public final int compareTo(TSStop vH)
===================================================================== Method "compareTo" Method is used to sort Elements Attention: Name of this Methode is requested by Interface 'Comparable'. Results need NOT be 0,1,-1 Note: This class has a natural ordering that is inconsistent with equals. ##compareTo.TSStop (Eyecatcher) =====================================================================
compareTo
in interface java.lang.Comparable<TSStop>
protected final int crDef(java.util.ArrayList<java.lang.String> LneT, int nr, java.lang.String msg, java.lang.String prfx)
===================================================================== Method "crDef" (Version S) Create an output-line-block as a 'Service-version' Method returns number of created error-messages ##crDef.TSStop (Eyecatcher) =====================================================================
protected final int crDef(java.util.ArrayList<java.lang.String> LneT, int nr, java.lang.String prfx)
===================================================================== Method "crDef" (Version A/T) Create an output-line-block due to requested type ##crDef.TSStop (Eyecatcher) =====================================================================
protected final TSTrItm fndTrI(TSRoute cR)
===================================================================== Method "fndTrI" Search TrItem-Database for TrItem-reference within 'PfID'. Register result within 'cRef'-entry if found. Method returns the connected TrItem-element to enable further checking. Method also stores current TrItem-NUMBER to 'RetVal' for error- processing if requested element is not found. ##fndTrI.TSStop (Eyecatcher) =====================================================================
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSStop (Eyecatcher) =====================================================================
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |