Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.zirkel.construction.DepList Class Reference
Inheritance diagram for rene.zirkel.construction.DepList:
Inheritance graph
[legend]
Collaboration diagram for rene.zirkel.construction.DepList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void reset ()
void add (ConstructionObject o)
boolean have (ConstructionObject o)
Enumeration elements ()
boolean hasMoreElements ()
Object nextElement ()
ConstructionObject[] getArray ()
void translate ()
int size ()

Package Attributes

ConstructionObject E [] = new ConstructionObject[8]
int N = 0
int I

Detailed Description

Definition at line 9 of file DepList.java.


Member Function Documentation

void rene.zirkel.construction.DepList.add ( ConstructionObject  o) [inline]

Definition at line 13 of file DepList.java.

       {      if (have(o)) return;
              if (N<E.length) E[N++]=o;
              else
              {      ConstructionObject e[]=new ConstructionObject[E.length+8];
                     for (int i=0; i<E.length; i++) e[i]=E[i];
                     E=e;
                     E[N++]=o;
              }
       }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 28 of file DepList.java.

       {      I=0; return this;
       }

Here is the caller graph for this function:

ConstructionObject [] rene.zirkel.construction.DepList.getArray ( ) [inline]

Definition at line 33 of file DepList.java.

       {      ConstructionObject o[]=new ConstructionObject[N];
              for (int i=0; i<N; i++) o[i]=E[i];
              return o;
       }

Here is the caller graph for this function:

Definition at line 31 of file DepList.java.

{ return I<N; }
boolean rene.zirkel.construction.DepList.have ( ConstructionObject  o) [inline]

Definition at line 23 of file DepList.java.

       {      for (int i=0; i<N; i++)
                     if (E[i]==o) return true;
              return false;
       }

Here is the caller graph for this function:

Definition at line 32 of file DepList.java.

{ return E[I++]; }

Definition at line 12 of file DepList.java.

{ N=0; }

Here is the caller graph for this function:

Definition at line 42 of file DepList.java.

{ return N; }

Definition at line 38 of file DepList.java.

       {      for (int i=0; i<N; i++)
                     E[i]=E[i].getTranslation();
       }

Member Data Documentation

ConstructionObject rene.zirkel.construction.DepList.E[] = new ConstructionObject[8] [package]

Definition at line 10 of file DepList.java.

Definition at line 11 of file DepList.java.

Definition at line 11 of file DepList.java.


The documentation for this class was generated from the following file: